Skip to contents

Distance-distance matrix correlation for stability analysis

Usage

dist_dist_correlation(X, Y)

Arguments

X

Numeric matrix

Y

Numeric matrix

Examples

X <- matrix(c(0, 1, 0, 1, 0, 0, 1, 1), ncol = 2)
Y <- 2 * X  # a uniform scaling keeps the distance structure
dist_dist_correlation(X, Y)  # 1
#> [1] 1