Skip to content
Prev 156188 / 398502 Next

rpart with only two small groups

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)