plot_alphas function

Plot cross-validated glmnet alpha

Plot cross-validated glmnet alpha

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

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

Arguments

  • x: Fitted "nestcv.glmnet" object
  • col: Optional vector of line colours for each fold
  • ...: other arguments passed to plot

Returns

No return value

See Also

nestcv.glmnet

Author(s)

Myles Lewis

  • Maintainer: Myles Lewis
  • License: MIT + file LICENSE
  • Last published: 2025-03-10