[R] regression trees
Thomas Lumley
tlumley at u.washington.edu
Mon Feb 4 19:10:47 CET 2002
On Mon, 4 Feb 2002, Patches Johnson wrote:
> I am trying to find documentation in R to help in formulating
> classification and regression trees (CART). Where in the documentation
> of R can I find info on the 'tree' command?
You don't want the tree() command. You want the rpart() command in the
rpart package (which should be part of your R distribution).
For more background information there is a Mayo Clinic technical report
(#61) by the authors of rpart, available from
http://www.mayo.edu/hsr/techrpt.html
It's also described in Venables & Ripley MASS, like most things.
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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