View source: R/other_functions.R
roundUp | R Documentation |
Function rounds the numbers up with the given sensitivity.
roundUp(x, to = 1)
x |
numeric. A numeric vector. |
to |
numeric. Sensitivity of the rounding. |
Numeric value or vector.
roundUp(2.67896, to = 1)
roundUp(2.67896, to = 0.1)
roundUp(2.67896, to = 0.01)
roundUp(2.67896, to = 0.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.