get_formula_vars
get_formula_vars.Rd
get_formula_vars
Arguments
- formula
an object of class
"formula"
(or one that can be coerced to that class): a symbolic description of the model to be fitted. The details of model specification are given under ‘Details’.- data
an optional data frame, list or environment (or object coercible by
as.data.frame
to a data frame) containing the variables in the model. If not found indata
, the variables are taken fromenvironment(formula)
, typically the environment from whichlm
is called.