rdc | R Documentation |
A function that returns a rounded value as a character.
rdc(a,digits)
a |
A numerical value to be rounded |
digits |
Number of decimal places |
The rounded value is returned as a character.
rdc(2.412, 3)
rdc(2.41, 3)
rdc(2.4, 3)
rdc(2, 3)
rdc(-2.41, 3)
rdc(-2.4, 3)
rdc(-2, 3)
rdc(0, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.