[R] rpart node number

From: Chua Siang Li <siang.li.chua_at_acceval-intl.com>
Date: Wed, 23 Jul 2008 12:07:14 +0800

   Hello there. I have a tree with only 13 nodes. See my results below. How    do I get node number that is up to 33? Also, what happen to the missing    node number less than 13?
> rpartModel <- rpart(y~., data=data.frame(y=y,x=x),method="anova",
   cp=0.005,

   +                     minsplit=100, minbucket=50, maxdepth=5)

> rpartModel

   n= 1085

   node), split, n, deviance, yval

Received on Wed 23 Jul 2008 - 04:10:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jul 2008 - 04:32:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive