Skip to contents

This function uses gratia::appraise to make model diagnostic plots. See gratia::appraise() for details. When model is not of class galamm, it is forwarded to gratia::appraise().

Usage

# S3 method for class 'galamm'
appraise(model, ...)

Arguments

model

An object of class galamm returned from galamm.

...

Other arguments passed on to gratia::appraise().

Value

A ggplot object.

Examples

dat <- subset(cognition, domain == 1 & item == "11")
dat$y <- dat$y[, 1]
mod <- galamm(y ~ s(x) + (1 | id), data = dat)
appraise(mod)