Simple wrapper for stats::glm()
.
Arguments
- y
The outcome variable.
- X
The feature matrix.
- ...
Additional arguments passed to
glm
. Seestats::glm()
for a complete list of arguments.
Value
mdl_glm
returns an object of S3 class mdl_glm
as a
simple mask of the return object of stats::glm()
.
See also
Other ml_wrapper:
mdl_glmnet()
,
mdl_ranger()
,
mdl_xgboost()
,
ols()