plot {REEMtree}R Documentation

Plotting the RE-EM tree

Description

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

Usage

plot.REEMtree(x, text = TRUE, ...)

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

Value

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

Author(s)

Rebecca Sela rsela@stern.nyu.edu

References

Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A New Data Mining Approach for Longitudinal Data”.

See Also

REEMtree, plot.rpart

Examples

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

[Package REEMtree version 1.0 Index]