This function is a method for the generic function plot for class ssr
.
It can be invoked by calling plot for an object of the appropriate class,
or directly by calling plot.ssr regardless of the class of the object.
An appropriate x-y plot is produced to display diagnostic plots. These can be one or all of the following choices:
Estimate of function with CIs
Residuals against Fitted values
Response against Fitted values
Normal QQplot of Residuals
The first plot of estimate of function with CIs is only useful for univariate smoothing spline fits.
When ask=TRUE, rather than produce each plot sequentially, plot.ssr displays a menu listing all the plots that can be produced. If the menu is not desired but a pause between plots is still wanted one must set par(ask=TRUE) before
invoking this command with argument ask=FALSE.