get_formula_vars: get_formula_vars

View source: R/get_formula_vars.R

get_formula_varsR Documentation

get_formula_vars

Description

get_formula_vars

Usage

get_formula_vars(formula, data)

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 in data, the variables are taken from environment(formula), typically the environment from which lm is called.

Value

character vector of variable names


jkennel/hydrorecipes documentation built on Dec. 24, 2024, 5:38 p.m.