plot.cvobj: Plot the cross-validation curve from a class 'cvobj' object

Description Usage Arguments Value

View source: R/plot.cvobj.R

Description

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

Usage

1
2
## S3 method for class '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.


cvwrapr documentation built on June 11, 2021, 5:21 p.m.