residuals.scam: SCAM residuals

View source: R/residuals.scam.R

residuals.scamR Documentation

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 class 'scam'
residuals(object, type = c("deviance", "pearson","scaled.pearson", 
                        "working", "response"),...)

Arguments

object

a scam fitted model object.

type

the type of residuals wanted.

...

other arguments.

Details

See residuals.gam for details.

Value

An array of residuals.

Author(s)

Natalya Pya <nat.pya@gmail.com>

See Also

scam


scam documentation built on June 22, 2024, 10:43 a.m.