tree {REEMtree}R Documentation

Extracts the regression tree associated with a RE-EM tree

Description

Returns the fitted rpart object associated with a REEMtree object.

Usage

tree(object,...)

Arguments

object an object of class REEMtree
... further arguments passed to or from other methods

Value

the fitted regression tree associated with the REEMtree object

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

rpart.object, REEMtree.object

Examples

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

[Package REEMtree version 1.0 Index]