Plots the cross-validation curve, and upper and lower standard deviation curves, as a function of the `lambda` values used.

# S3 method for cvobj
plot(x, sign.lambda = 1, log.lambda = TRUE, ...)

Arguments

x

A `"cvobj"` object.

sign.lambda

Either plot against `log(lambda)` (default) or its negative if `sign.lambda = -1`.

log.lambda

If `TRUE` (default), x-axis is `log(lambda)` instead of `lambda` (`log.lambda = FALSE`).

...

Other graphical parameters to plot.

Value

A plot is produced, and nothing is returned.