residuals.scam: SCAM residuals
Description
This function is a clone of the mgcv library code residuals.gam.
It returns residuals for a fitted scam model
object. Pearson, deviance, working and response residuals are
available.
Usage
# S3 method for scam
residuals(object, type = c("deviance", "pearson","scaled.pearson",
"working", "response"),...)Value
An array of residuals.
Arguments
- object
a scam fitted model object.
- type
the type of residuals wanted.
- ...
other arguments.
Author
Natalya Pya <nat.pya@gmail.com>
Details
See residuals.gam for details.