On Sun, 2007-12-09 at 21:24 +0100, [EMAIL PROTECTED] 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@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.