powered by
Sums logs without loss of precision This function is verbatim of its namesake in cupcake package (github.com/ollyburren/cupcake/)
logsum(x)
a scalar
a vector of logs to sum
Chris Wallace