clustering.distance.spearman

The Spearman correlation coefficient is defined as the Pearson correlation
coefficient between the ranked variables.

See: https://en.wikipedia.org/wiki/Spearman%27s_rank_correlation_coefficient

correlation-coefficient

(correlation-coefficient xs ys)

rank-by

(rank-by key data)