| round2 | R Documentation | 
base::round()Unlike base::round(), it does NOT follow the
IEC 60559 standard by rounding numbers ending in .5 to the even
digit. Instead, 0.5 is rounded up.
round2(x, digits = 0)
x | 
 a numeric vector of numbers to round  | 
digits | 
 integer indicating the number of decimal places
to which   | 
https://stackoverflow.com/questions/12688717/round-up-from-5
# This gives '2'
base::round(2.5)
# This gives 3
round2(2.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.