Extract the fitted values from a RE-EM tree
This function extracts the fitted values from the LME object underlying the RE-EM tree. The fitted values are the fixed effects (from the tree) plus the estimated contributions of the random effects to the fitted values at grouping levels less or equal to the level given.
an object of class
the level of random effects used in creating fitted values. Level 0 is fixed effects; levels increase with the grouping of random effects. Default is the highest level.
an optional logical value. If
some methods for this generic require additional arguments; none are used here.
If the level is a single value, the result is a vector or list (depending on
asList) with the fitted values. Otherwise, the result is a data frame with columns given by the fitted values at different levels.
Rebecca Sela email@example.com
Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.