fdPlotCvGlmnet: Interactive plot for cv.glmnet object.

Description Usage Arguments Examples

Description

This plots MSE vs Log Lambda

Usage

1
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

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)
}

alteryx/flightdeck documentation built on May 12, 2019, 1:39 a.m.