| getReCovs | R Documentation |
Returns a list with one covariance object for each
random effect in the model. If the object is an old-style (pre-version
2.0.0) fitted model, it automatically converts all terms to
Covariance.us objects (except for terms including double-bar
‘||’ notation, which are converged to Covariance.diag
objects).
getReCovs(object)
object |
an R object of class |
a list of covariance objects
m1 <- lmer(Reaction ~ Days + (Days || Subject), sleepstudy)
sapply(getReCovs(m1), "class")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.