Distance Covariance
dcov(x,y)
numeric vector
numeric vector
Returns a numeric value: the distance covariance between x and y.
Implements the algorithm described in Chaudhuri, Hu (2019) doi:10.1016/j.csda.2019.01.016 which only has O(n log(n)) complexity.