Function math::stats::percentile_by
source · pub fn percentile_by<T, F>(
numbers: Vec<T>,
percentile_ratio: f64,
compare: F
) -> Result<T, String>
Expand description
percentile_ratio
is percentile / 100
,
e.g. the 90-th percentile corresponds to a percentile_ratio
of 0.9
.