| mdl_glm | R Documentation | 
stats::glm().Simple wrapper for stats::glm().
mdl_glm(y, X, ...)
| y | The outcome variable. | 
| X | The feature matrix. | 
| ... | Additional arguments passed to  | 
mdl_glm returns an object of S3 class mdl_glm as a
simple mask of the return object of stats::glm().
stats::glm()
Other ml_wrapper: 
mdl_glmnet(),
mdl_ranger(),
mdl_xgboost(),
ols()
glm_fit <- mdl_glm(sample(0:1, 100, replace = TRUE),
                   matrix(rnorm(1000), 100, 10))
class(glm_fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.