Function metrics::local_stats::median
source · fn median<T: NumberType, D: Details<T>>(values: &[D]) -> T
Expand description
Computes and returns median of values
.
This is an expensive function as it sorts values to get the median.