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
.
Details
The function simply calls plot.gam and gam.check on the
underlying gam model for checking goodness of fit.