rdc {NMA} | R Documentation |
Rounding a numerical value
Description
A function that returns a rounded value as a character.
Usage
rdc(a,digits)
Arguments
a |
A numerical value to be rounded |
digits |
Number of decimal places |
Value
The rounded value is returned as a character.
Examples
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)
[Package NMA version 1.4-3 Index]