histogram O(n) Compute a histogram over a data set.
The result consists of a pair of vectors:
The lower bound of each interval.
The number of samples within the interval.
Interval (bin) sizes are uniform, and the upper and lower bounds are chosen automatically using the range function. To specify these parameters directly, use the histogram_ function.