Skip to content
Prev 34744 / 63421 Next

Binning of integers with hist() function odd results (PR#14046)

gug at fnal.gov wrote:
This is as documented. See the include.lowest argument. Annoying, but 
not a bug.

(It is arguably a design error that hist() is looking for "pretty" 
breakpoints rather than pretty midpoints, or maybe something more 
advanced to handle cases where the data are effectively tied to a 
lattice. It's been around "forever", though.)