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