roundn | R Documentation |
Round to nearest integer multiple of n
roundn(x, n = 1)
x |
A vector |
n |
A number |
Rounded vector
roundn(runif(10)*10, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.