rpart (and tree) do not fit a linear model at each node, merely a threshold split. See Alexander, W. P., and Grimshaw, S. D. (1996), "Treed Regression," Journal of Computational and Graphical Statistics, 5, 156-175, for an alternative that may meet your needs.
> 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? ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
