Displaying 1 result from an estimated 1 matches for "arv13".
Did you mean:
srv13
2011 Oct 30
1
Rpart
Dear users,
I'm using rpart for classification trees, but my code isn't working when I
try to use all the variables in my data frame. This data frame was created
from a data frame with 1775 variables, but I choose only 13.
arv13<-rpart(iv~.,data=gn,method="class",parms=list(split="information"))
#Error:
Error in `[.data.frame`(frame, predictors) : undefined columns selected
"gn" is a data.frame, so I don't understand where is my mistake.
If I read the data.frame from a txt file &quo...