Skip to contents

Converts a string list of variables into a formula object

Usage

as_simple_formula(outcome, covars)

Arguments

outcome

character (length 1 vector). Name of the outcome variable

covars

character (vector). Name of covariates

Value

A formula