ranef.REEMtree: Extract the estimated random effects from a RE-EM tree

View source: R/EMtree-functions.r

ranef.REEMtreeR 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

  ## S3 method for class 'REEMtree'
ranef(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 Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).

See Also

random.effects, REEMtree.object

Examples

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

REEMtree documentation built on Oct. 25, 2023, 1:08 a.m.