image.tune.rcc: Plot the cross-validation score.

Description Usage Arguments Details Author(s) See Also Examples

View source: R/image.tune.rcc.R

Description

This function provide a image map (checkerboard plot) of the cross-validation score obtained by the tune.rcc function.

Usage

1
2
## S3 method for class 'tune.rcc'
image(x, col = heat.colors, ...)

Arguments

x

object returned by estim.regul.

col

a character string specifying the colors function to use: terrain.colors, topo.colors, rainbow or similar functions. Defaults to heat.colors.

...

not used currently.

Details

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.

Author(s)

Sébastien Déjean and Ignacio González.

See Also

tune.rcc, image.

Examples

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)

Example output

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 

mixOmics documentation built on June 1, 2018, 5:06 p.m.