term_variables | R Documentation |
Given the name (a term label) of a term in a model, returns the names of the variables involved in the term.
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, ...)
object |
an R object on which method dispatch is performed |
term |
character; the name of a model term, in the sense of
|
... |
arguments passed to other methods. |
A character vector of variable names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.