linear_mod: linear_mod

Description Usage Arguments Value Examples

View source: R/xwas.R

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)

nampho2/xwas documentation built on May 23, 2019, 12:17 p.m.