Description Usage Arguments Value See Also Examples
Formats an interval of form (5.234,11.783]
to something like (5.2,11.8]
.
Used for formatting only, mainly with binning functions like depthbin
. Intervals can be opened or closed with
(
and [
respectively and are maintained as such when formatted. Useful for prettifying graphs and reports.
1 | roundCut(x, r = 1)
|
x |
character vector of bins to format |
r |
number, 0 to 10 (or higher I suppose) indicating how many decimals to display |
formatted character vector with length of input vector.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.