logspace_sum | R Documentation |
Calculate log(sum(exp(logx))) in a somewhat numerically stable way.
logspace_sum(logx)
logx |
log-scale numeric vector of values to sum |
log(sum(exp(logx))), but more numerically stable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.