A helper funciton for shist() that chooses the slider step when none is provided. The idea is to choose a whole number that represents a represents a change in 5 percetiles around the median of the distribution. The distribution is hopefully changing slowly around the median and thus the interval will be the an estimate of the smallest useful delta in bin size.
1 |
x |
a vector of values to derived a step size from. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.