modcheck | R Documentation |
graphical model checks
modcheck(mod)
mod |
a model object ( |
a plot with histogram and qq plot of model residuals and a plot with fitted versus residuals
x <- data.frame(x = rnorm(100), y = rnorm(100), ID = sample(letters, 100, replace = TRUE)) mod <- lme4::lmer(y ~ x + (1|ID), data = x) modcheck(mod = mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.