euclidean, manhattan, maximumStraight to
stats::dist(). Compare units by the LEVEL of their profiles.
correlation1 - cor(t(x)), Pearson. Compares SHAPE: two units
that rise and fall together are close however different their
magnitudes, which is what you usually want when grouping load or
generation profiles.
spearmanThe same on ranks – shape, robust to outliers.
cosine1 - cosine similarity. Shape again, but sensitive to
sign and not centred, so a unit that is uniformly positive is close to
every other such unit.
SCALE_DISTANCESA character vector.
SCALE_DISTANCES
#> [1] "euclidean" "manhattan" "maximum" "correlation" "spearman"
#> [6] "cosine"