Re: [R] How to change the number of bins in "hist" function?

From: ronggui <ronggui.huang_at_gmail.com>
Date: Fri 17 Feb 2006 - 14:52:21 EST

?hist will tell you
...
breaks: one of:

          In the last three cases the number is a suggestion only.

2006/2/17, Michael <comtech.usa@gmail.com>:
> Hi all,
>
> I am doing histogram using the "hist" function. For some reason, the
> histogram does not look good... is there a way I can change the number of
> bins, and/or change the way that data gets binned... so that I can obtain a
> better looking histogram?
>
> Thanks a lot!
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

--
ٹ
Deparment of Sociology
Fudan University



______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Received on Fri Feb 17 14:56:57 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:37 EST