
Extract names of all variables needed to fit a GAM or a smooth
Source:R/gamm4-methods.R, R/scam-methods.R, R/utililties.R
term_names.RdExtract names of all variables needed to fit a GAM or a smooth
Usage
# S3 method for class 'gamm4'
term_names(object, ...)
# S3 method for class 'scam'
term_names(object, ...)
term_names(object, ...)
# S3 method for class 'gam'
term_names(object, ...)
# S3 method for class 'mgcv.smooth'
term_names(object, ...)
# S3 method for class 'gamm'
term_names(object, ...)Arguments
- object
a fitted GAM object (inheriting from class
"gam"or an mgcv::smooth.construct smooth object, inheriting from class"mgcv.smooth".- ...
arguments passed to other methods. Not currently used.