logsum | R Documentation |
Adding small probabilities
logsum(l1, l2)
l1 |
log probabilities |
l2 |
log probabilities |
sum of probabilities exp(l1)+exp(l2)
Peiyuan Zhu
# sum of two 1e-5
exp(logsum(log(1e-5),log(1e-5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.