Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

img.matcor

Image of correlation matrices


Description

Display images of the correlation matrices within and between two data matrices.

Usage

img.matcor(correl, type = 1)

Arguments

correl

Correlation matrices as returned by the matcor() function

type

character determining the kind of plots to be produced: either one ((p+q) * (p+q)) matrix or three matrices (p * p), (q * q) and (p * q)

Details

Matrices are pre-processed before calling the image() function in order to get, as in the numerical representation, the diagonal from upper-left corner to bottom-right one.

Author(s)

Sébastien Déjean, Ignacio González

See Also

Examples

data(nutrimouse)
X=as.matrix(nutrimouse$gene)
Y=as.matrix(nutrimouse$lipid)
correl=matcor(X,Y)
img.matcor(correl)
img.matcor(correl,type=2)

CCA

Canonical Correlation Analysis

v1.2.1
GPL (>= 2)
Authors
Ignacio Gonz<e1>lez, S<e9>bastien D<e9>jean
Initial release
2009-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.