logsum: Helper function to sum logs without loss of precision

View source: R/rapfunc.R

logsumR Documentation

Helper function to sum logs without loss of precision

Description

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

Usage

logsum(x)

Arguments

x

a vector of logs to sum

Value

a scalar

Author(s)

Chris Wallace


RapidoPGS documentation built on Oct. 13, 2023, 5:11 p.m.