Description Usage Arguments Value Examples
This function takes in a vector, and uses the logsumexp technique to prevent underflow issues. Used on log_pi + loglike to prevent it being rounded to 0
1 | logsumexpc(v)
|
v |
a vector or matrix of numbers |
log(sum(exp(v))), without underflow issues
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.