Description Usage Arguments Details Value See Also Examples
This is meant to get the order of magnitude from measurement errors to round these errors and measured values or centers like mean or median in an empirical way.
1 | oom(x)
|
x |
A numeric vector of measurement uncertainties, e.g., sd, se |
The following convention is implemented:
Round x
to 2 significant digits.
If first significant digit is 1, return number of digits according to 2 significant digits.
Otherwise return number of digits according to 1 significant digit.
A numeric vector containing orders of magnitude, can be passed to base::round()
as digits.
Other rounding functions: mpformat
,
round_up
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.