This function extracts the estimated random effects from a fitted RE-EM tree.
# S3 method for REEMtree ranef(object,...)
a vector containing the estimated random effects
an object of class REEMtree
REEMtree
further arguments passed to or from other methods
Rebecca Sela rsela@stern.nyu.edu
Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).
random.effects, REEMtree.object
random.effects
REEMtree.object
data(simpleREEMdata) REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID) ranef(REEMresult)
Run the code above in your browser using DataLab