paduloh
1
library(caret)
library(partykit)
model_iris <- ctree(formula = species~ ., data = train_iris)
Error in eval(predvars, data, env) : object 'species' not found
please help for this error ..... this error was find in may R studio ..... in the other has no error
xiaoni
2
You can try to print train_iris if this has species
column. It seems the error is because it does not exist in your data.
system
Closed
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.