powered by
Calculate R2
R2_pe(mod, expct, overdisp_name, R2_type)
data.frame with one element, R2
merMod object
Expectation
Name of overdispersion term
"marginal" or "conditional"