residualsStudy function

Plot residuals

Plot residuals

residualsStudy analyzes the residuals of a model: a plot of the residuals against the index, a plot of the residuals against the fitted values, the representation of the density and a normal Q-Q plot.

residualsStudy(model)

Arguments

  • model: a fitted model obtained from modelFit

Author(s)

D. Dupuy

See Also

modelFit and modelPredict

Examples

data(dataIRSN5D) X <- dataIRSN5D[,1:5] Y <- dataIRSN5D[,6] library(gam) modAm <- modelFit(X,Y,type = "Additive",formula=formulaAm(X,Y)) residualsStudy(modAm)
  • Maintainer: C. Helbert
  • License: GPL-3
  • Last published: 2023-12-04

Useful links