ranef.REEMtree {REEMtree}R Documentation

Extract the estimated random effects from a RE-EM tree

Description

This function extracts the estimated random effects from a fitted RE-EM tree.

Usage

ranef.REEMtree(object,...)

Arguments

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

Value

a vector containing the estimated random effects

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

ranef.nlme, link{REEMtree.object}

Examples

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

[Package REEMtree version 1.0 Index]