Learn R Programming

emil (version 2.2.3)

image.resample: Visualize resampling scheme

Description

Class specific extension to image.

Usage

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

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

Arguments

Value

Nothing, produces a plot.

See Also

emil, resample

Examples

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

Run the code above in your browser using DataLab