SI_tg_format | R Documentation |
The labels generated represent the same numbers, but with trailing zeros removed/added and compensated by attaching to each label an SI multiplier "prefix".
SI_tg_format(exponent = 0, digits = 3, ...)
SI_tagged(x, exponent = 0, digits = 3, ...)
exponent |
numeric Power of 10 to use as multiplier |
digits |
number of significant digits to show |
... |
other arguments passed on to |
x |
a numeric vector to format |
a function with single parameter x, a numeric vector, that returns a character vector
If the exponent passed has no SI prefix defined, the exponent will be adjusted to match one.
SI_tg_format()(1:10)
SI_tg_format()(runif(10))
SI_tg_format(exponent = 2)(runif(10))
SI_tagged(1:10)
SI_tagged(runif(10))
SI_tagged(runif(10), digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.