[R] Strange graphical pattern when using hist() function

Humberto Mohr humberto.mohr at gmail.com
Tue Apr 23 19:40:33 CEST 2013

Running the following lines I got a strange plot from hist function:


As you can see, the 0 value appears two times in the plot. 
The Y axis only presents 1 as the highest value when:


Nevertheless, it seems to have two bars between 0 and 1.

Could someone please explain to me why it is happening?

Many thanks in advance!

More information about the R-help mailing list