View source: R/utils-numeric.R
| log1mexp | R Documentation |
Accurately evaluates log(1 - exp(-x)) for any x >= 0
avoiding catastrophic loss of precision for small or large x.
log1mexp(x)
x |
Numeric vector of non-negative values. |
Numeric vector of log(1 - exp(-x)).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.