wormplot_gg {childsds}R 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


[Package childsds version 0.8.0 Index]