Learn R Programming

MESS (version 0.5.7)

dCov: Fast distance covariance matrix

Description

Fast computation of the distance covariance between two matrices with the same number of rows.

Usage

dCov(x, y)

Arguments

x

A matrix with dimensions n*k.

y

A matrix with dimensions n*l.

Value

A number representing the distance covariance between x and y