fit_glmnet.Rd
Fit regularized generalized linear model
fit_glmnet(formula, data, family = gaussian, alpha = 0.5, ...)
formula | An object of class |
---|---|
data | A |
family | A description of the error distribution and link function to be used in the model.
See |
alpha | The elasticnet mixing parameter. See |
... | Other parameters for the model fitting function. |
nlambda | The number of |
A list with two data frames: gof
contains goodness of fit measures of the fit and
coefs
contains the fitted coefficients.