residuals.scam {scam} | R Documentation |
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.
## S3 method for class 'scam'
residuals(object, type = c("deviance", "pearson","scaled.pearson",
"working", "response"),...)
object |
a |
type |
the type of residuals wanted. |
... |
other arguments. |
See residuals.gam
for details.
An array of residuals.
Natalya Pya <nat.pya@gmail.com>