This plots MSE vs Log Lambda

fdPlotCvGlmnet(x, sign.lambda = NULL, title = NULL, ...)

Arguments

x
fitted "cv.glmnet" object
sign.lambda
Either plot against log(lambda) (default) or its negative if sign.lambda=-1
title
plot title.
...
additional arguments. not currently used

Examples

library(glmnet)
library(flightdeck)
data(QuickStartExample)
cvfit <- cv.glmnet(x, y)

if (interactive()){
  #' Interctive profiles plot
  fdPlotCvGlmnet(cvfit)
}