Methods for extracting fitted values and residuals from smoothing spline ANOVA fits.
# S3 method for ssanova
fitted(object, ...)
# S3 method for ssanova
residuals(object, ...)# S3 method for gssanova
fitted(object, ...)
# S3 method for gssanova
residuals(object, type="working", ...)
Object of class "ssanova"
or "gssanova"
.
Type of residuals desired, with two alternatives
"working"
(default) or "deviance"
.
Ignored.
The fitted values for "gssanova"
objects are on the link
scale, so are the "working"
residuals.