[R] Help on rpart

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Feb 28 18:15:26 CET 2003


Rpart does not fit a linear model at any node.  Please read up on 
tree-based models.

On Fri, 28 Feb 2003 charles.rosa at gm.com wrote:

> To whom it may concern,
> I am using the rpart() function to perform a recursive tree analysis on a
> set
> of data that includes both numerical and categorical attributes.
> At the end of the analysis, I would like to see the linear model at each
> node in the tree.  In particular, I would like to see each node specific
> model coefficients
> associated with each of the independent variables and intercepts.
> 
> I've tried using the summary() method, but don't see this kind of
> information.
> How can I see this information?
> 
> Thanks, Charlie
> 
> -------------------------
> Charles H. Rosa, Ph.D.
> Staff Research Engineer, Research & Development
> GM R&D
> Warren, MI
> Tel/work: +1 586 986-6032
> Tel/cell: +1 781 367-5154
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list