freedman_diaconis_hist_bins | R Documentation |
Uses the Freedman–Diaconis rule for optimal histogram binning. Also see: https://stats.stackexchange.com/questions/798/calculating-optimal-number-of-bins-in-a-histogram/862#862
freedman_diaconis_hist_bins(vec)
col |
A numeric/integer vector |
num_dp |
The numeric of decimal places to round the mean to. |
The Freedman-Diaconis bins
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.