Description Usage Arguments Value Examples
Rounds but preserves sum
1 | round_preserve_sum(x, digits = 0)
|
x |
numbers to round |
digits |
digits to keep |
a vector
1 2 | x <- rep(10 / 3, 3)
round_preserve_sum(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.