c_manifoldness {stops} | R Documentation |
c-manifoldness calculates c-manifoldness as the aggregated maximal correlation coefficient (i.e., Pearson correlation of the ACE transformedvariables) of all pairwise combinations of two different columns in confs. If there is an NA (happens usually when the optimal transformation of any variable is a constant and therefore the covariance is 0 but also one of the sds in the denominator), it gets skipped.
c_manifoldness(confs, aggr = max)
confs |
a numeric matrix or data frame with two columns |
aggr |
the aggregation function for configurations of more than two dimensions. Defaults to max. |
x<--100:100 y<-sqrt(100^2-x^2) confs<-cbind(x,y) c_manifoldness(confs)