Learn R Programming

perfectphyloR (version 0.2.1)

dCor: Compute distance correlation (dCor) coefficient two random vectors(distance matrices).

Description

This function computes the RV coefficient of two distance matrices.

Usage

dCor(mDx, mDy, mC)

Arguments

mDx

A numeric matrix of pairwise distances.

mDy

A second numeric matrix of pairwise distances.

mC

See the equation 2.4 in the reference.

References

Josse, J., & Holmes, S. (2016). Measuring multivariate association and beyond. Statistics surveys, 10, 132.