pub fn spearman(x: &[f64], y: &[f64]) -> Result<Correlation, ErrorsJSL>
Spearman’s rank correlation (Pearson’s on average ranks), with the same t approximation for the p-value. Measures any monotone association.