Description Usage Arguments Value Methods (by class) Examples
Lookup an SI prefix by name, by exponent (power of 10), or by value. For exponents or values, the best SI prefix is returned.
1 2 3 4 5 6 7 8 9 10 |
x |
A vector |
A named character vector where values are the SI prefix exponents
and names are the SI prefix names, from SI_PREFIXES
.
character
: x
are the names of the prefixes. The prefix
mu can be referred to with its unicode value, "\u03BC"
, or "mu"
.
Empty or missing values map to no strings. Invalid values return NA
.
integer
: x
are the exponents of the SI prefixes,
-24, -21, ..., -3, 0, 3, ..., 21, 24.
numeric
: x
are numeric values.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.