c_dependence {stops} | R Documentation |
c-dependence calculates c-dependence as the aggregated distance correlation of each pair if nonidentical columns
Description
c-dependence calculates c-dependence as the aggregated distance correlation of each pair if nonidentical columns
Usage
c_dependence(confs, aggr = max, 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] |
Value
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)
[Package stops version 1.6-2 Index]