Re: [R] CART analysis

From: Bernardo Rangel Tura <tura_at_centroin.com.br>
Date: Mon, 10 Dec 2007 15:48:14 -0200

On Sun, 2007-12-09 at 21:24 +0100, anna.paganoni_at_polimi.it wrote:
> I would like to know if is it possible implemet a partitioning tree
> using a function like rpart, or mvpart, and with formula a glm-object
> (as a logistic models) or a robust linear regression (as least sum of
> absolute errors).
> In this case, the appropriate "method" to use is "mrt"? Or another one?
> Thanks,
> Anna Maria Paganoni

Well,

I think de package tree solve your problem. If your response variable don't use logistic approach if your variable is numeric use standard formula

Any doubt read :
http://cran.r-project.org/doc/packages/tree.pdf

and mail me

-- 
Bernardo Rangel Tura, M.D,MPH,Ph.D
National Institute of Cardiology
Brazil

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 10 Dec 2007 - 18:03:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Dec 2007 - 18:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.