An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060216/ae175f26/attachment.pl
How to change the number of bins in "hist" function?
2 messages · Michael, ronggui
?hist will tell you
...
breaks: one of:
* a vector giving the breakpoints between histogram
cells,
* a single number giving the number of cells for the
histogram,
* a character string naming an algorithm to compute the
number of cells (see Details),
* a function to compute the number of cells.
In the last three cases the number is a suggestion only.
2006/2/17, Michael <comtech.usa at 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 at 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