matcor | R Documentation |
The function computes the correlation matrices within and between two datasets.
matcor(X, Y)
X |
numeric matrix (n * p), containing the X coordinates. |
Y |
numeric matrix (n * q), containing the Y coordinates. |
A list containing the following components:
Xcor |
Correlation matrix (p * p) for the X variables |
Ycor |
Correlation matrix (q * q) for the Y variables |
XYcor |
Correlation matrix ((p+q) * (p+q)) between X and Y variables |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.