| 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.formulaprovides a formula/data frame interface toglmnet. -
cv.glmnet.formuladoes a similar thing forcv.glmnet. Methods for
predictandcoeffor both the above.A function
cva.glmnetto 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,predictandcoeffor the above.
[Package glmnetUtils version 1.1.9 Index]