c_dependence function

c-dependence calculates c-dependence as the aggregated distance correlation of each pair if nonidentical columns

c-dependence calculates c-dependence as the aggregated distance correlation of each pair if nonidentical columns

c_dependence(confs, aggr = NULL, index = 1)

Arguments

  • confs: a numeric matrix or data frame
  • aggr: the aggregation function for configurations of more than two dimensions. Defaults to max.
  • index: exponent on Euclidean distance, in (0,2]

Returns

a numeric value; dependence (aggregated distance correlation)

Examples

x<-1:10 y<-2+3*x+rnorm(10) confs<-cbind(x,y) c_dependence(confs,1.5)