Description Usage Arguments Value References Examples

Using the Neumaier method, take a more accurate sum

1 | ```
neumaierSum(numbers)
``` |

`numbers` |
A vector of numbers to sum. |

Sum of numbers, a bit more accurate than kahanSum

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

1 2 | ```
sum(c(1,1e100,1,-1e100)) ## Should be 2, gives 0
neumaierSum(c(1,1e100,1,-1e100)) ## Gives 2
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.