Skip to content

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>:
--
»ÆÈÙ¹ó
Deparment of Sociology
Fudan University