modcheck: graphical model checks

View source: R/modcheck.R

modcheckR Documentation

graphical model checks

Description

graphical model checks

Usage

modcheck(mod)

Arguments

mod

a model object (merMod)

Value

a plot with histogram and qq plot of model residuals and a plot with fitted versus residuals

Examples

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)

gobbios/cfp documentation built on April 11, 2022, 2:22 a.m.