R/claudia.R
logsum.Rd
Internal function, logsum
logsum(x)
numeric vector
max(x) + log(sum(exp(x - max(x))))
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
Claudia Giambartolomei