residuals.asp {AdaptFitOS} | R Documentation |
Extracts residuals from a semiparametric regression fit object.
## S3 method for class 'asp' residuals(object,...)
object |
a fitted |
... |
other possible arguments. |
Extracts residuals from a semiparametric regression fit object. The residuals are defined to be the difference between the response variable and the fitted values.
The vector of residuals.
plot.asp
, predict.asp
, summary.asp
, fitted.asp
asp
(package AdaptFit)
data(fossil,package="SemiPar") attach(fossil) fit <- asp2(strontium.ratio~f(age)) plot(age,residuals(fit)) abline(0,0)