checkFit: Check goodness of fit of a trend model.

View source: R/trendAnalysis.R

checkFitR Documentation

Check goodness of fit of a trend model.

Description

Produces various goodness of fit plots and diagnostic measures.

Usage

checkFit(trend, residuals = TRUE, ...)

Arguments

trend

A fitted object of class trend.

residuals

Should residuals be plotted?

...

Further arguments passed to plot.gam.

Details

The function simply calls plot.gam and gam.check on the underlying gam model for checking goodness of fit.

Author(s)

Jonas Knape

See Also

plot.gam, gam.check


poptrend documentation built on Nov. 22, 2023, 5:08 p.m.