expm1s10 | R Documentation |
expm1
With Base 10Signed expm1
With base 10.
expm1s10(x)
x |
Numerical vector. |
Compute expm1s10(x) = sign(x) * (10 ^ abs(x) - 1)
.
This function is the inverse of log1ps10
.
Numeric vector.
expm1s log1ps10
x <- c(-2, -1, -1/10, -0.1/10, 0, 0.1/10, 1/10, 1, 2)
y <- expm1s10(x)
# this test if the inverse is ok
stopifnot(isTRUE(all.equal(x, eflTools::log1ps10(y))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.