round2 | R Documentation |
Rounding function, where numbers are rounded up, 0.5 = 1
round2(x, n = 0)
x |
a numeric vector |
n |
integer indicating the number of decimal places |
a numeric vector with rounded numbers
http://alandgraf.blogspot.com/2012/06/rounding-in-r.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.