Skip to main content

median

Function median 

Source
pub fn median(values: Vec<f64>) -> f64
Expand description

The median of values; an even count averages the middle two. An empty values has no median, and gives NaN.