Skip to main content

compute_stats

Function compute_stats 

Source
pub fn compute_stats(data: &[f64], whisker_factor: f64) -> BoxStats
Expand description

Computes box plot statistics for a single dataset.

The whisker_factor controls how far the whiskers extend beyond Q1 and Q3, as a multiple of the interquartile range (IQR). The standard value is 1.5. Points outside the whisker range are classified as outliers.