fit_cvglmnet.Rd
Cross-validation for regularized generalized linear models
fit_cvglmnet(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. |
A list with two data frames: gof
contains goodness of fit measures of the fit and
coefs
contains the fitted coefficients.