image.resample: Visualize resampling scheme

Description Usage Arguments Value Author(s) See Also Examples

View source: R/resampling.r

Description

Class specific extension to image.

Usage

1
2
3
4
5
## S3 method for class 'resample'
image(x, col, ...)

## S3 method for class 'crossvalidation'
image(x, col, ...)

Arguments

x

Resampling scheme, as returned by resample.

col

Color palette matching the values of x. Can also be the response vector used to create the scheme for automatic coloring.

...

Sent to plot.

Value

Nothing, produces a plot.

Author(s)

Christofer Bäcklin

See Also

emil, resample

Examples

1
2
y <- gl(2, 30)
image(resample("crossvalidation", y, nfold=3, nrepeat=8), col=y)

emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to image.resample in emil...