.lsum {mig} | R Documentation |
Log of sum of terms
Description
Computes the log of a sum of positive components, given on the log scale (lx
), avoiding numerical overflow.
Usage
.lsum(lx, loff)
Arguments
lx |
vector or matrix of log of terms to add |
loff |
log of offset |
Value
a vector of log sums
Author(s)
Marius Hofert, Martin Maechler (package copula
)
[Package mig version 1.0 Index]