VarCorr.merModList | R Documentation |
Extract the variances and correlations for random effects from a merMod list
## S3 method for class 'merModList'
VarCorr(x, sigma = 1, rdig = 3L, ...)
x |
for |
sigma |
an optional numeric value used as a multiplier for the standard deviations. |
rdig |
the number of digits to round to, integer |
... |
Ignored for the |
a list with two elements "stddev" and "correlation" for the standard deviations and correlations averaged across models in the list
sim_list <- replicate(n = 10,
expr = sleepstudy[sample(row.names(sleepstudy), 180),],
simplify=FALSE)
fml <- "Reaction ~ Days + (Days | Subject)"
mod <- lmerModList(fml, data = sim_list)
VarCorr(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.