exponent | R Documentation |
Returns the exponent of a number as it is written in scientific notation (powers of 10).
exponent(x)
x |
(required) numeric. A number. |
the exponent of the scientific notation representation of the number x
Thanks to Stackoverflow answer by Paul McMurdie https://stackoverflow.com/a/25555105
x <- c(1,400,500000,.0003) exponent(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.