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>


ekstroem/MESS documentation built on July 28, 2023, 4:02 a.m.