stable.probs {clustMD} | R Documentation |
Stable computation of the log of a sum
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
stable.probs(s)
Arguments
s |
a numeric vector. |
Value
The log of the sum of the elements of s
[Package clustMD version 1.2.1 Index]