[R] how the break is calculated by R?

XinMeng xmeng at capitalbio.com
Tue May 12 03:28:35 CEST 2009


Hi all: 
As to hist,the help file says:" R's default with equi-spaced breaks (also the default) is to plot the counts in the cells defined by breaks." 
I wanna know how the break is calculated by R? 

In other words: break = (max - min)/(number of group) but how the "number of group" is calculated by R? Thanks!




More information about the R-help mailing list