[R] tree and rpart (=> prune.rpart)
White.Denis at epamail.epa.gov
Thu Jul 26 17:22:29 CEST 2001
> Since rpart 2.x, rpart could do all that tree could do, faster. We
> are now on rpart 3.x, which added user-specified splits and
> NA-handling. At some point fairly soon rpart is expected to ship as
> part of S-PLUS and the interface will be frozen, but that means that
> Terry Therneau has made lots of undocumented changes that some of you
> have been finding.
In case prune.rpart did not get modified to add the "best=" parameter for
pruning to a fixed size, there is a prune.Rpart in contributed package
maptree with that feature.
US EPA, 200 SW 35th St, Corvallis, Oregon, 97333 USA
voice: 541.754.4476, email: white.denis at epa.gov
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