plot.cv.shim: Plot the cross-validation curve produced by cv.shim

Description Usage Arguments Details Author(s) See Also

View source: R/plots.R

Description

Plots the cross-validation curve, and upper and lower standard deviation curves, as a function of the λ_β and λ_γ values used. Using ggplot2 facet plots, each facet represents a unique value for λ_γ, and the x-axis is the sequence of corresponding λ_β

Usage

1
2
## S3 method for class 'cv.shim'
plot(x)

Arguments

x

fitted cv.shim object

Details

A plot is produced, and nothing is returned. A colored vertical line is drawn at the pair of tuning parameters that leads to the minimum CV error and another is drawn at the 1 standard error rule pair of tuning parameters

Author(s)

Sahir Bhatnagar

Maintainer: Sahir Bhatnagar sahir.bhatnagar@mail.mcgill.ca

See Also

shim and cv.shim


sahirbhatnagar/shim documentation built on May 29, 2019, 12:59 p.m.