View source: R/mlm_assumptions.R
mlm_assumptions | R Documentation |
Reports the results from testing all assumptions of a multilevel model and provides suggestions if an assumption is not passed
mlm_assumptions(model)
model |
A linear mixed-effects model of class lmerMod, lmerModLmerTest, or glmerMod of type binomial. |
Tests the relevant assumptions of the specified multilevel model.
Glaser, R. E. (2006). Levene’s Robust Test of Homogeneity of Variances. Encyclopedia of Statistical Sciences. 6.
# Read in data data(instruction) # Create model mod <- lme4::lmer(mathgain ~ mathkind + (1 | classid), data = instruction) # Evaluate assumptions mlm_assumptions(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.