roundDown {factorial2x2} | R Documentation |
Rounds a negative number to the nearest, more negative number to a specified decimal place.
roundDown(x, dig)
x |
number to be rounded |
dig |
number of decimal places to be rounded |
roundDown
is used to
round a negative Z-statistic critical value, which has (infinitely)
many significant digits, to the nearest dig
decimal place
which is more extreme
than the critical value itself. This is done to preserve the
desired type I error level.
roundDown(-1.95456, 2) # [1] -1.96