round_to_magnitude | R Documentation |
For example, if x
is 12, this function returns 100.
If x
is 0.12, this function returns 0.1.
round_to_magnitude(x)
x |
Number to be rounded (numeric) |
Nearest order of magnitude larger than x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.