
Round a number up to the next "nice" value
roundUpNice.RdGiven a positive number x, returns the smallest element of
10^floor(log10(x)) * nice that is \(\geq x\). Useful for setting
clean axis limits or bin widths.
Usage
roundUpNice(x, nice = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))