Skip to content
Prev 77582 / 398502 Next

Interpretation of csplit from rpart.object

Your message *was* received, and you can check the archives to see it at

https://stat.ethz.ch/pipermail/r-help/2005-September/077889.html

You need to read the code to answer the question for yourself.  There is 
lots of code interpreting csplit in the rpart package.  These lines might 
be a clue, for example

rpart.s:    if (ncat>0) ans$csplit <- catmat +2
pred.rpart.s:                        as.integer(fit$csplit -2),
summary.rpart.s:  paste(c("L", "-", "R")[x$csplit[x$splits[i,4], 1:temp[i]]],

The documentation is from the authors and may well be out of date: but you 
need to read much more carefully what it says (e.g. `this level').
On Wed, 21 Sep 2005 jmoreira at fe.up.pt wrote: