This function uses the method from Paul Johnson to compute the average group variance across the levels of a covariate.
1 | group_vars(grname, VarComps, mod)
|
grname |
The name of a grouping factor, usually accessed by looping over the grname argument of the rptR functions. |
VarComps |
A list. Output of the lme4::VarCorr function. |
mod |
An lme4 model object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.