glm_wrapper: Fits a generalized linear model
Description
Fits a generalized linear model
Usage
glm_wrapper(y, x, args = list())
Value
A list
- pval
The p-value of the linear main effect.
- time
elapsed time to fit the model.
Arguments
- y
A vector of outcome
- x
A matrix of predictors
- args
A list of arguments see R `glm` function.