plot_lambdas {nestedcv} | R Documentation |
Plot cross-validated glmnet lambdas across outer folds
Description
Plot of cross-validated glmnet lambda parameter against deviance for each outer CV fold.
Usage
plot_lambdas(
x,
scheme = NULL,
palette = "Dark 3",
showLegend = if (x$outer_method == "cv") "topright" else NULL,
...
)
Arguments
x |
Fitted "nestcv.glmnet" object |
scheme |
colour scheme |
palette |
palette name (one of |
showLegend |
Either a keyword to position the legend or |
... |
other arguments passed to plot. Use |
Value
No return value
Author(s)
Myles Lewis
See Also
[Package nestedcv version 0.7.9 Index]