stable.probs: Stable computation of the log of a sum

Description Usage Arguments Value

View source: R/clustMD_UtilityFunctions.R

Description

Function takes a numeric vector and returns the log of the sum of the elements of that vector. Calculations are done on the log scale for stability.

Usage

1

Arguments

s

a numeric vector.

Value

The log of the sum of the elements of s


clustMD documentation built on May 2, 2019, 2:09 a.m.