roundX | R Documentation |
round2
This set of functions simplify and specialize the round2
function in exam package. Each function rounds the given number to the decimal points specified in the function itself.
round0(x)
round1(x)
round2(x)
round3(x)
round4(x)
x |
numeric. A numeric vector. |
The function round2
does what is known in German as kaufmaennisches Runden (rounding away from zero for trailing 5s).
Numeric value or vector.
For more information see round2
.
round2
round0(2.67896)
round1(2.67896)
round2(2.67896)
round3(2.67896)
round4(2.67896)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.