Learn R Programming

RxODE (version 0.6-1)

rxKahanSum: Using the Kahan method, take a more accurate sum

Description

Using the Kahan method, take a more accurate sum

Usage

rxKahanSum(numbers)

Arguments

numbers

A vector of numbers to sum.

Value

Sum of numbers

References

https://en.wikipedia.org/wiki/Kahan_summation_algorithm