Extract names of all variables needed to fit a GAM or a smooth
term_names(object, ...)# S3 method for gam
term_names(object, ...)
# S3 method for mgcv.smooth
term_names(object, ...)
# S3 method for gamm
term_names(object, ...)
A vector of variable names required for terms in the model
a fitted GAM object or an mgcv smooth object
arguments passed to other methods. Not currently used.