term_names {gratia} | R Documentation |
Extract names of all variables needed to fit a GAM or a smooth
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, ...)
object |
a fitted GAM object (inheriting from class |
... |
arguments passed to other methods. Not currently used. |
A vector of variable names required for terms in the model