Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/image.tune.rcc.R
This function provide a image map (checkerboard plot) of the
cross-validation score obtained by the tune.rcc
function.
1 2 3 4 5 | ## S3 method for class 'tune.rcc'
image(x, col = heat.colors, ...)
## S3 method for class 'tune.rcc'
plot(x, col = heat.colors, ...)
|
x |
object returned by |
col |
a character string specifying the colors function to use:
|
... |
not used currently. |
plot.tune.rcc
creates an image map of the matrix object$mat
containing the cross-validation score obtained by the tune.rcc
function. Also a color scales strip is plotted.
none
Sébastien Déjean, Ignacio González, Kim-Anh Le Cao, Al J Abadi
1 2 3 4 5 6 7 8 9 | data(nutrimouse)
X <- nutrimouse$lipid
Y <- nutrimouse$gene
## this can take some seconds
cv.score <- tune.rcc(X, Y, validation = "Mfold", plot = FALSE)
plot(cv.score)
# image(cv.score) # same result as plot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.