View source: R/calc_bin_width.R
calc_all_bin_width | R Documentation |
Applies 'laviz::calc_bin_width' and returns a tibble with all the bin widths calculated by all the methods.
calc_all_bin_width(x)
x |
A numeric object |
A tibble
https://en.wikipedia.org/wiki/Histogram#Square-root_choice https://stats.stackexchange.com/questions/798/calculating-optimal-number-of-bins-in-a-histogram https://arxiv.org/pdf/1612.07216.pdf https://cran.r-project.org/web/packages/essHist/essHist.pdf https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.170.173&rep=rep1&type=pdf https://www.neuralengine.org//res/histogram.html https://www.qimacros.com/histogram-excel/how-to-determine-histogram-bin-interval/#:~:text=Here's
library(ggplot2)
calc_all_bin_width(diamonds$carat)
calc_all_bin_width(economics_long$value)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.