Hello R-User! I try to do the following:
New<-iris[c(1:7,90:97),1:5] New.rpart<-rpart(Species~., data=New, method="class") New.rpart n= 15 node), split, n, loss, yval, (yprob) * denotes terminal node 1) root 15 7 versicolor (0.4666667 0.5333333) * Does it mean it is not possible to find a variable that splits my groups or are my groups just to small? Is there a way to find out the variable that splits my groups best? Thanks in advance for help. B. ----- The art of living is more like wrestling than dancing. (Marcus Aurelius) -- View this message in context: http://www.nabble.com/rpart-with-only-two-small-groups-tp19516515p19516515.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.