addToBase: Extend the base formula with variables we are adjusting for.

Description Usage Arguments Value

Description

Extend the base formula with variables we are adjusting for.

Usage

1
addToBase(base_formula, adjustingVariables)

Arguments

base_formula

a formula object with the dependent variable as a function of the independent variable

adjustingVariables

a character vector of column names from the data.frame to adjust for

Value

An updated formula object representing a base formula with adjustment variables.


chiragjp/xwas documentation built on May 13, 2019, 5:27 p.m.