as_simple_formula: Creates a simple formula object from a string
Description
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