residuals.spm: Residuals for semiparametric regression.
Description
Extracts residuals from a semiparametric regression fit object.
Usage
# S3 method for spm
residuals(object,...)
Arguments
object
a fitted spm object as produced by spm().
...
other possible arguments.
Value
The vector of residuals.
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.