Description Usage Arguments Details Examples
Rounds a negative number to the nearest, more negative number to a specified decimal place.
1 | 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.
1 2 | roundDown(-1.95456, 2)
# [1] -1.96
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.