Re: [R] CART analysis

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

On Sun, 2007-12-09 at 21:24 +0100, 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


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 :

and mail me

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

______________________________________________ mailing list
PLEASE do read the posting guide
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 Please read the posting guide before posting to the list.