Re: [R] bucketing in histograms

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Thu, 10 Apr 2008 11:35:17 +0200

Mark Farnell wrote:
> 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?

Sometimes I wonder what is going on here. Folks, please read the posting guide and the help pages before posting! In this case ?hist clearly reveals how to set breaks.

Uwe Ligges

> 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.



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:26:17 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 - 10: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