Description Usage Arguments Value Examples
Compute a nice looking range for a slider
1 | pretty_range(x)
|
x |
an object coercible to numeric by as.numeric. |
A vector with two elements: the nice looking range
1 2 3 4 | range(ctd$temp)
pretty_range(ctd$temp)
range(ctd$date)
pretty_range(ctd$date)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.