plot_qq: Plot Random Effects Q-Q

View source: R/diagnostics.R

plot_qqR Documentation

Plot Random Effects Q-Q

Description

Creates Q-Q plots for random effects to assess normality assumptions.

Usage

plot_qq(object, which = NULL, ...)

## S3 method for class 'beezdemand_hurdle'
plot_qq(object, which = NULL, ...)

## S3 method for class 'beezdemand_nlme'
plot_qq(object, which = NULL, ...)

Arguments

object

A fitted model object with random effects (beezdemand_hurdle or beezdemand_nlme).

which

Character vector; which random effects to plot. Default is all.

...

Additional arguments (ignored).

Value

A ggplot2 object.

Examples


data(apt)
fit <- fit_demand_hurdle(apt, y_var = "y", x_var = "x", id_var = "id")
plot_qq(fit)



beezdemand documentation built on March 3, 2026, 9:07 a.m.