Round up to nearest 'nice' number source: https://stackoverflow.com/a/6463946
1 | round_up_nice(x, nice = c(1, 2, 4, 5, 6, 8, 10))
|
x |
Number to round up |
nice |
Vector of 'nice' numbers (no need to change this) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.