Given the name (a term label) of a term in a model, returns the names of the variables involved in the term.
Usage
term_variables(object, term, ...)
# S3 method for class 'terms'
term_variables(object, term, ...)
# S3 method for class 'gam'
term_variables(object, term, ...)
# S3 method for class 'bam'
term_variables(object, term, ...)