Sums logs without loss of precision This function is verbatim of its namesake in cupcake package (github.com/ollyburren/cupcake/)

logsum(x)

Arguments

x

a vector of logs to sum

Value

a scalar

Author

Chris Wallace