formula.gam: Extract the formula from a gam object
Description
Extracts the formula from a fitted gam
object.Usage
## S3 method for class 'gam':
formula(x,...)
Arguments
x
fitted model objects of class gam
(see gamObject
) as produced by gam()
. Details
Returns x$formula
. Provided so that anova
methods
print an appropriate description of the model.