logsum | R Documentation |
Internal function, logsum Function directly taken from coloc This function calculates the log of the sum of the exponentiated logs taking out the max, i.e. insuring that the sum is not Inf
logsum(x)
x |
numeric vector |
max(x) + log(sum(exp(x - max(x))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.