Plot cross-validation curves produced from a cv.sparsegl
object.
Source: R/plot.cv.sparsegl.R
plot.cv.sparsegl.Rd
Plots the cross-validation curve, and upper and lower standard deviation
curves, as a function of the lambda
values used.
Arguments
- x
Fitted
"cv.sparsegl"
object, produced withcv.sparsegl()
.- log_axis
Apply log scaling to the requested axes.
- sign.lambda
Either plot against
log(lambda)
(default) or the reverse ifsign.lambda < 0
.- ...
Not used.
Details
A ggplot2::ggplot()
plot is produced. Additional user
modifications may be added as desired.