Description Usage Arguments Value Note Author(s)
Original implementation from https://stackoverflow.com/questions/5173692/how-to-return-number-of-decimal-places-in-r
1 | decimalplaces(x, true_number = FALSE)
|
x |
Float or double numeric number. |
true_number |
Logical setting whether the true number (see notes) of decimal places. |
Integer number of decimal places. Maximum
R usually restricts the number of decimal to 9 in printing etc. Unless
true_number = TRUE
, return 9 and give a warning.
Joona Lehtomaki joona.lehtomaki@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.