Skip to main content

histogram

Function histogram 

Source
pub fn histogram<F: Native>(data: &[F], edges: &[F]) -> Result<Vec<i64>, Error>
Expand description

Counts in increasing bin edges. Bins include their lower edge and exclude their upper edge, except that the last bin includes both. Values outside the edges and NaNs aren’t counted.