logsum
Internal function, logsum
logsum(x)
x |
numeric vector |
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
max(x) + log(sum(exp(x - max(x))))
Claudia Giambartolomei
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.