create_formula: Creates a formula to be used in ceaR functions

Description Usage Arguments

View source: R/ceamodel_other.R

Description

Creates a formula for used in various ceaR functions based on a dependent variable, intervention variable, and covariates. Each argument should be passed as a character vector and the object returned is of class formula.

Usage

1
create_formula(dep, intv, covt)

Arguments

dep

Dependent variable

intv

Intervention variable

covt

Covariate variables


bmckay/ceaR documentation built on May 23, 2019, 9:01 p.m.