choose_bin_width: choose_bin_width

Description Usage Arguments

Description

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.

Usage

1

Arguments

x

a vector of values to derived a step size from.


MilesMcBain/shist documentation built on May 7, 2019, 4:57 p.m.