Description Usage Arguments Details Value Author(s) Examples
The treelm function transforms the fitted rpart or ctree object into a design matrix representing the tree structure. The default encoding follows from Michael LeBlanc & Robert Tibshirani (1998) Monotone Shrinkage of Trees, Journal of Computational and Graphical Statistics, 7:4, 417-433, DOI: 10.1080/10618600.1998.10474786
1 | treelm(model)
|
model |
a fitted rpart object or a fitted ctree model |
Represent a fitted regression or classification tree as an ANOVA model
A list containing the design matrix
X - the ANOVA design matrix for the linear model
Ian Frankenburg
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.