dCor: Fast distance correlation matrix

View source: R/RcppExports.R

dCorR Documentation

Fast distance correlation matrix

Description

Fast computation of the distance correation matrix between two matrices with the same number of rows. Note that this is not the same as the correlation matrix distance that can be computed with the cmd function.

Usage

dCor(x, y)

Arguments

x

A matrix with dimensions n*k.

y

A matrix with dimensions n*l.

Value

A number between 0 and 1 representing the distance covariance between x and y

Author(s)

Claus Ekstrom <claus@rprimer.dk>


MESS documentation built on Aug. 21, 2023, 1:05 a.m.

Related to dCor in MESS...