fitted.asp | R Documentation |
Extracts fitted values from a semiparametric regression fit object.
## S3 method for class 'asp' fitted(object,...)
object |
a fitted |
... |
other possible arguments. |
Extracts fitted from a semiparametric regression fit object. The fitted are defined to be the set of values obtained when the predictor variable data are substituted into the fitted regression model.
The vector of fitted.
plot.asp
,
predict.asp
,
summary.asp
,
residuals.asp
,
data(fossil,package="SemiPar") attach(fossil) fit <- asp2(strontium.ratio~f(age)) plot(fit, bands=FALSE) points(age,fitted(fit)-fit$coef[1],col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.