[R] hist plot and custom "band" width

Jason Turner jasont at indigoindustrial.co.nz
Wed Nov 26 00:37:29 CET 2003


Mathieu Drapeau wrote:

> Hi,
> I have some difficulties to figure how to set a range to my histogram 
> bands.
> I have values that are [0,500000] and they appear once in my list. How 
> can I do a histogram that include all the values between a range of 
> 10000 together? [0,10000],[10001,20000],[200001,30000], ...

?hist
see the "breaks" argument.

Cheers

Jason

-- 
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz




More information about the R-help mailing list