powered by
The function computes the correlation matrices within and between two datasets.
matcor(X, Y)
A list containing the following components:
Correlation matrix (p * p) for the X variables
Correlation matrix (q * q) for the Y variables
Correlation matrix ((p+q) * (p+q)) between X and Y variables
numeric matrix (n * p), containing the X coordinates.
numeric matrix (n * q), containing the Y coordinates.
Sébastien Déjean, Ignacio González
img.matcor
data(nutrimouse) X=as.matrix(nutrimouse$gene) Y=as.matrix(nutrimouse$lipid) correl=matcor(X,Y) img.matcor(correl) img.matcor(correl,type=2)
Run the code above in your browser using DataLab