linear_mod: linear_mod

Description Usage Arguments Value Examples

Description

Main worker function to perform linear associations.

Usage

1
linear_mod(formula, data, design = NULL, verbose = TRUE, ...)

Arguments

formula

an R formula class object.

data

the data.frame to perform analysis on, can be optional if the design argument is used.

design

a survey::svydesign object that has the experimental design.

verbose

is if we print errors, TRUE by default.

...

are additional arguments passed on to the regression.

Value

A data.frame representing the linear association study.

Examples

1
2
3
4
## Not run: 
linear_mod()

## End(Not run)

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