Description Usage Arguments Value Examples
Performs a singular linear regression or binary outcomes association study. It requires you to specify the exact column variable and other permutation details. It does a lot of blind analysis and requires the xwas function to determine other information such as sanity checking around input arguments.
1 2 |
data |
is a data.frame containing the data to perform analysis on. |
depvar |
a character vector with a column name for the dependent variable. |
timevar |
is a character vector with the column name for the time variable in survival analysis. |
varname |
a character vector with a column name for the independent variable. |
adjvars |
a list of variables to adjust for in the regression. |
design |
is an optional survey::svydesign object for weighted analysis. |
permute |
is an optional parameter of how many permutations to perform in the bootstrap. |
categorical |
is a binary option representing whether or not the variable is categorical. |
verbose |
is a boolean that determines if we print extra information. Not recommend for an XWAS, only one off analyses. |
a data.frame object representing the regression.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.