[R] rpart and TREE, can be the same?
andy_liaw at merck.com
Fri Jul 16 20:01:06 CEST 2004
I guess if you define the splitting criterion in rpart so that it matches
the one used in tree(), that's possible. However, I believe the two also
differ in how they handle NAs.
> From: WWei at mdanderson.org
> Hi, all,
> I am wondering if it is possible to set parameters of 'rpart'
> and 'tree'
> such that they will produce the exact same tree? Thanks.
> Auston Wei
> Statistical Analyst
> Department of Biostatistics and Applied Mathematics
> The University of Texas MD Anderson Cancer Center
> Tel: 713-563-4281
> Email: wwei at mdanderson.org
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help