plot.cvobj {cvwrapr}R Documentation

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

Description

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

Usage

## 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.


[Package cvwrapr version 1.0 Index]