Skip to contents

make_formula() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make formula. The function is called for its side effects and does not return a value.

Usage

make_formula(
  depnt_var_nm_1L_chr,
  predictors_chr,
  environment_env = parent.frame()
)

Arguments

depnt_var_nm_1L_chr

Dependent variable name (a character vector of length one)

predictors_chr

Predictors (a character vector)

environment_env

Environment (an environment), Default: parent.frame()

Value

Formula (formula)