Description Usage Arguments Details Value Author(s) Examples
Gives the optimal bindwidth for a histogram given a data set, it's value and the desired amoutn of bins
1 |
.data |
The data set in question |
.value_col |
The column that holds the values |
.iters |
How many times the cost function loop should run |
Modified from Hideaki Shimazaki Department of Physics, Kyoto University shimazaki at ton.scphys.kyoto-u.ac.jp Feel free to modify/distribute this program.
Supply a data.frame/tibble with a value column. from this an optimal binwidth will be computed for the amount of binds desired
A tibble of histogram breakpoints
Steven P. Sanderson II, MPH
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.