lorad_calc_log_sum {lorad}R Documentation

Calculate a sum on log scale

Description

Calculates the (natural) log of a sum without leaving the log scale by factoring out the largest element.

Usage

lorad_calc_log_sum(logx)

Arguments

logx

Numeric vector in which elements are on log scale

Value

The log of the sum of the (exponentiated) elements supplied in logx


[Package lorad version 0.0.1.0 Index]