Skip to main content

pearson_correlation

Function pearson_correlation 

Source
pub fn pearson_correlation(x: &[f64], y: &[f64]) -> f64
Expand description

Returns the Pearson correlation coefficient (alias for correlation).