Skip to main content

histogram

Function histogram 

Source
pub fn histogram(values: &[f64], bins: usize) -> Vec<(f64, f64, usize)>
Expand description

A histogram of values in bins bins of equal width from the lowest to the highest: (lower edge, upper edge, how many). Empty for no values.