Learn R Programming

nestedcv (version 0.9.0)

plot_alphas: Plot cross-validated glmnet alpha

Description

Plot of cross-validated glmnet alpha parameter against deviance for each outer CV fold.

Usage

plot_alphas(x, col = NULL, ...)

Value

No return value

Arguments

x

Fitted "nestcv.glmnet" object

col

Optional vector of line colours for each fold

...

other arguments passed to plot

Author

Myles Lewis

See Also

nestcv.glmnet