Skip to main content

percentile

Function percentile 

Source
pub fn percentile(data: &mut [f64], p: f64) -> f64
Expand description

Calculate percentile from sorted data. Uses linear interpolation.