log10WeightedSum: Log of weighted sum

View source: R/stats.R

log10WeightedSumR Documentation

Log of weighted sum

Description

Performs the stable computation of log_{10}(\sum_i w_i 10^x_i).

Usage

log10WeightedSum(x, weights = NULL)

Arguments

x

vector of log10 values

weights

weights (use equal weights if not specified)

Value

numeric

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.