get_ran_var {partR2} | R Documentation |
Extracts random effect variances
Description
This function computes the sum of random effect variances where one or more of the random effects are random slopes. It uses Paul Johnson' method to compute the average group variance across the levels of a covariate. This function extracts only grouping factors, no residual or overdispersion.
Usage
get_ran_var(mod, overdisp_name = NULL)
Arguments
mod |
An lme4 model object. |
overdisp_name |
name of overdispersion term |
[Package partR2 version 0.9.2 Index]