Description Usage Arguments Examples
This plots MSE vs Log Lambda
1 | fdPlotCvGlmnet(x, sign.lambda = NULL, title = NULL, ...)
|
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 |
1 2 3 4 5 6 7 8 9 | library(glmnet)
library(flightdeck)
data(QuickStartExample)
cvfit <- cv.glmnet(x, y)
if (interactive()){
#' Interctive profiles plot
fdPlotCvGlmnet(cvfit)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.