as_simple_formula: Creates a simple formula object from a string

View source: R/utilities.R

as_simple_formulaR Documentation

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

Value

A formula


rbmi documentation built on Nov. 24, 2023, 5:11 p.m.