mantel: Mantel coefficient two sets of variables

View source: R/mantel.R

Mantel coefficient between two sets of variablesR 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

rv, dcor

Examples

mantel( as.matrix(iris[, 1:2]), as.matrix(iris[, 3:4]) )

mvcor documentation built on April 11, 2025, 5:39 p.m.