If type="combine", the correlation matrix is computed of the combined
matrices cbind(X, Y) and then plotted. If type="separate",
three correlation matrices are computed, cor(X), cor(Y) and
cor(X,Y) and plotted separately on the same device. In both cases,
a color correlation scales strip is plotted.
The correlation 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.
The estimation of the missing values can be performed
by the reconstitution of the data matrix using the nipals function. Otherwise, missing
values are handled by casewise deletion in the imaCor function.
data(nutrimouse)
X <- nutrimouse$lipid
Y <- nutrimouse$gene
## 'combine' type plot (default)imgCor(X, Y)
## 'separate' type plotimgCor(X, Y, type = "separate")