[R] nods and tree ..

Alvine Bissery Alvine.Bissery at imag.fr
Tue Nov 21 16:26:58 CET 2000


hello,

I would like to build a classification tree, with the formula  x~y,
where x is a 22 levels factor, and y a numeric variable.

I use rpart (R) or tree (Splus) function, but I would like to know how I
can do to force  the tree to have exactly 22 terminal nods, one for each
level.

Thank you

Alvine Bissery

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list