Skip to content
Prev 263913 / 398503 Next

Help with histogram intervals

Hi Ivo,

It depends how you are making the histogram plot.  If you are using
the traditional graphics hist() function, then look at the argument,
"breaks" (type ?hist at the console to pull up the documentation
explaining this).  For example:

hist(x = sample(1:20, 300, TRUE), breaks = seq(0, 20, by = 2))

HTH,

Josh
On Mon, Jun 27, 2011 at 4:23 PM, <Gwanmesia at aol.com> wrote: