REEMtree (version 0.90.5)

plot: Plot the RE-EM tree

Description

Plots the regression tree associated with a RE-EM tree.

Usage

# S3 method for REEMtree
plot(x, text = TRUE, ...)

Value

the coordinates of the nodes are returned as a list, with components x and y.

Arguments

x

a fitted object of class REEMtree

text

if TRUE, the text of the tree will be plotted on the tree automatically.

...

further arguments passed to or from other methods

Author

Rebecca Sela rsela@stern.nyu.edu

References

Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).

See Also

REEMtree, plot.rpart

Examples

Run this code
data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID)
plot(REEMresult)

Run the code above in your browser using DataLab