residuals.asp: Residuals for semiparametric regression.
Description
Extracts residuals from a semiparametric regression fit object.
Usage
# S3 method for asp
residuals(object,...)
Value
The vector of residuals.
Arguments
object
a fitted asp object as produced by asp2().
...
other possible arguments.
Details
Extracts residuals from a semiparametric regression fit object.
The residuals are defined to be the difference between the response
variable and the fitted values.