View source: R/funcs_do_calculation.R
roundoff | R Documentation |
Instead of in R by default round(0.5) = 0, roundoff(0.5, 0) = 1
Instead of in R by default round(0.5) = 0, roundoff(0.5, 0) = 1
roundoff(x, digits = 2)
roundoff(x, digits = 2)
x |
the number |
digits |
digits, default to 2 |
rounded numeric vector
rounded numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.