gam
model
object. Pearson, deviance, working and response residuals are
available.## S3 method for class 'gam':
residuals(object, type = "deviance",...)
gam
fitted model object."deviance"
, "pearson"
,"scaled.pearson"
,
"working"
, or "response"
. Families can supply their own residual function, which is used in place of the standard
function if present, (e.g. cox.ph
).
gam