dotcorr {paleomorph} | R Documentation |
Calculate 3D vector correlation matrix using the congruence coefficient. Skips any missing values in computation of correlation matrix. Gives an N x N correlation matrix.
dotcorr(A)
A |
An N x 3 x M array where N is the number of landmarks, 3 is the number of dimensions, and M is the number of specimens. |
Correlation matrix
A <- array(rnorm(4 * 2 * 3), dim = c(2, 3, 4))
A.corr <- dotcorr(A)