qqgam: QQ plots for gam model residuals

Description Usage Arguments Value

Description

QQ plots for gam model residuals

Usage

1
2
3
4
5
6
7
qqgam(
  object,
  rep = 0,
  level = 0.9,
  s.rep = 10,
  type = c("deviance", "pearson", "response")
)

Arguments

object

a fitted gam object as produced by gam()

rep

How many replicate datasets to generate to simulate quantiles of the residual distribution. 0 results in an efficient simulation free method for direct calculation, if this is possible for the object family.

level

If simulation is used for the quantiles, then reference intervals can be provided for the QQ-plot, this specifies the level. 0 or less for no intervals, 1 or more to simply plot the QQ plot for each replicate generated.

s.rep

how many times to randomize uniform quantiles to data under direct computation.

type

what sort of residuals should be plotted?

Value

A ggplot


cardiomoon/ggGam documentation built on May 2, 2020, 9:58 a.m.