View source: R/utils-numeric.R
| log_sum_exp | R Documentation |
Computes log(exp(a) + exp(b)) in log-space.
log_sum_exp(a, b)
a |
Numeric vector of log-scale component 1. |
b |
Numeric vector of log-scale component 2. |
Numeric vector of log(exp(a) + exp(b)).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.