glmnetUtils {glmnetUtils} | R Documentation |
Utilities for glmnet
Description
Some quality-of-life functions to streamline the process of fitting elastic net models with the glmnet
package, specifically:
-
glmnet.formula
provides a formula/data frame interface toglmnet
. -
cv.glmnet.formula
does a similar thing forcv.glmnet
. Methods for
predict
andcoef
for both the above.A function
cva.glmnet
to choose both the alpha and lambda parameters via cross-validation, following the approach described in the help page forcv.glmnet
. Optionally does the cross-validation in parallel.Methods for
plot
,predict
andcoef
for the above.
[Package glmnetUtils version 1.1.9 Index]