[R] bucketing in histograms

From: Mark Farnell <mark.farnell_at_gmail.com>
Date: Thu, 10 Apr 2008 21:20:45 +1200


Hi

I wish to draw a histogram for a numeric array and specify a bucket size (say 5 units per bar and the height of that bar equals to the average of that 5 units)

how can I do that?

Thanks!

Mark



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 10 Apr 2008 - 10:04:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Apr 2008 - 11:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive