wormplot_gg: Worm Plot ggplot version

View source: R/misc.R

wormplot_ggR Documentation

Worm Plot ggplot version

Description

Worm plot ggplot version

Usage

wormplot_gg(
  m = NULL,
  residuals = NULL,
  age = NA,
  n.inter = 1,
  y.limits = c(-1, 1)
)

Arguments

m

a gamlss model

residuals

nlormalized quantile residuals

age

numeric vector of ages

n.inter

number of age intervals or cut points

y.limits

limits of the y-axis

Details

creates a wormplot for a gamlss model or a given vector of normalized quantile residuals, either for all residuals or grouped by age intervals

Value

ggplot object


childsds documentation built on April 4, 2025, 1:49 a.m.