I'm working witha data base which all has numeric values - I have checked this in excel- and i'm trying to make a decision tree, but just as I try to execute the code:
arbolRpart <- rpart(Clasificador ~ Sexo , data - TC_train)
it always shows me the error:
Error in FUN(left, right) : non-numeric argument to binary operator
I really don't know what else to do,
I will glady acept any help regarding my problem.
Thank you in advance.