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

Description Usage Arguments Value

View source: R/xwas.R

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.


nampho2/xwas documentation built on May 23, 2017, 10:29 a.m.