[R] Error in y - ymean : non-numeric argument to binary operator

ddkssk 909 ddkssk909c at gmail.com
Sat May 27 05:54:56 CEST 2017


I am trying to do classification with Randomforest() . the class variable
is nominal.

But I get this error
model1 <-randomForest(Cath~.,data=trainrf)
Error in y - ymean : non-numeric argument to binary operator
In addition: There were 26 warnings (use warnings() to see them)
>  model1
Error: object 'model1' not found

	[[alternative HTML version deleted]]



More information about the R-help mailing list