powered by
Class specific extension to image.
image
# S3 method for resample image(x, col, ...)# S3 method for crossvalidation image(x, col, ...)
# S3 method for crossvalidation image(x, col, ...)
Resampling scheme, as returned by resample.
resample
Color palette matching the values of x. Can also be the response vector used to create the scheme for automatic coloring.
x
Sent to plot.
plot
Nothing, produces a plot.
emil, resample
emil
# NOT RUN { y <- gl(2, 30) image(resample("crossvalidation", y, nfold=3, nrepeat=8), col=y) # }
Run the code above in your browser using DataLab