c-dependence calculates c-dependence as the aggregated distance correlation of each pair if nonidentical columns
c_dependence(confs, aggr = NULL, index = 1)
confs
: a numeric matrix or data frameaggr
: the aggregation function for configurations of more than two dimensions. Defaults to max.index
: exponent on Euclidean distance, in (0,2]a numeric value; dependence (aggregated distance correlation)
x<-1:10 y<-2+3*x+rnorm(10) confs<-cbind(x,y) c_dependence(confs,1.5)