Mantel coefficient between two sets of variables {mvcor} | R Documentation |
Mantel coefficient two sets of variables
Description
Mantel coefficient between two sets of variables.
Usage
mantel(y, x)
Arguments
y |
A numerical matrix. |
x |
A numerical matrix. |
Details
The Mantel coefficient is simply the Pearson correlation coefficient computed on the off-diagonal elements of the distance matrix of each each matrix (or set of variables).
Value
The Mantel coefficient.
Author(s)
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
References
Abdi H. (2010). Congruence: Congruence coefficient, RV coefficient, and Mantel coefficient. Encyclopedia of Research Design, 3, 222–229.
See Also
Examples
mantel( as.matrix(iris[, 1:2]), as.matrix(iris[, 3:4]) )
[Package mvcor version 1.1 Index]