tree: Extract the regression tree associated with a RE-EM tree

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/EMtree-functions.r View source: R/EMtree-functions.r

Description

Returns the fitted rpart object associated with a REEMtree object.

Usage

1
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 Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).

See Also

rpart.object, REEMtree.object

Examples

1
2
3
4
data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID)
tree.REEMtree(REEMresult)
tree(REEMresult)

REEMtree documentation built on May 30, 2017, 12:24 a.m.

Search within the REEMtree package
Search all R packages, documentation and source code