Description Usage Arguments Details 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 | ## S3 method for class 'tune.rcc'
image(x, col = heat.colors, ...)
|
x |
object returned by |
col |
a character string specifying the colors function to use:
|
... |
not used currently. |
image.estim.regul
creates an image map of the matrix
object$mat
containing the cross-validation
score obtained by the estim.regul
function.
Also a color scales strip is plotted.
Sébastien Déjean and Ignacio González.
1 2 3 4 5 6 7 | data(nutrimouse)
X <- nutrimouse$lipid
Y <- nutrimouse$gene
## this can take some seconds
cv.score <- tune.rcc(X, Y, validation = "Mfold", plot = FALSE)
image(cv.score)
|
Loading required package: MASS
Loading required package: lattice
Loading required package: ggplot2
Loaded mixOmics 6.3.2
Thank you for using mixOmics!
How to apply our methods: http://www.mixOmics.org for some examples.
Questions or comments: email us at mixomics[at]math.univ-toulouse.fr
Any bugs? https://bitbucket.org/klecao/package-mixomics/issues
Cite us: citation('mixOmics')
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
lambda1 = 0.5005
lambda2 = 0.001
CV-score = 0.3739815
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.