Learn R Programming

poptrend (version 0.2.0)

checkFit: 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.

Author

Jonas Knape

Details

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

See Also