glm_wrapper {mpower} | R Documentation |
Fits a generalized linear model
Description
Fits a generalized linear model
Usage
glm_wrapper(y, x, args = list())
Arguments
y |
A vector of outcome |
x |
A matrix of predictors |
args |
A list of arguments see R 'glm' function. |
Value
A list
pval |
The p-value of the linear main effect. |
time |
elapsed time to fit the model. |
[Package mpower version 0.1.0 Index]