Description Usage Arguments Value Examples
Computes the cumulative sum in terms of logarithmic in- and output Useful to avoid numerical underflow when summing products of probabilities When using this function, one can sum sums of log probabilities See also: http://goo.gl/aJopi
1 | logsum(logx)
|
logx |
a vector of log numbers (need not be probabilities) |
the log of the sum of the exponentiated input
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.