plot | R Documentation |
Plots the regression tree associated with a RE-EM tree.
## S3 method for class 'REEMtree'
plot(x, text = TRUE, ...)
x |
a fitted object of class |
text |
if |
... |
further arguments passed to or from other methods |
the coordinates of the nodes are returned as a list, with components x
and y
.
Rebecca Sela rsela@stern.nyu.edu
Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).
REEMtree
, plot.rpart
data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID)
plot(REEMresult)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.