[R] rpart with only two small groups

Birgitle birgit.lemcke at systbot.uzh.ch
Tue Sep 16 19:47:06 CEST 2008


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.



More information about the R-help mailing list