logsumexp | R Documentation |
Compute log(sum(exp(x),dim)) while avoiding numerical underflow
logsumexp(x, margin = 1)
x |
a matrix |
margin |
used for apply |
log(sum(exp(x),dim)) a matrix of the sample size as x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.