Learn R Programming

scam (version 1.2-5)

formula.scam: SCAM formula

Description

Description of scam formula (see gam of the mgcv package for Details), and how to extract it from a fitted scam object.

The function is a clone of formula.gam of the mgcv package.

Usage

# S3 method for scam
formula(x,...)

Arguments

x

fitted model objects of class scam as produced by scam().

...

un-used in this case

Value

Returns the model formula, x$formula. Provided so that anova methods print an appropriate description of the model.

Details

see formula.gam for details.

See Also

scam