Skip to content
Prev 46291 / 63461 Next

What algorithm is R using to calculate mean?

This uses the idea of Kahan's summation, if I am not mistaken.

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

Ravi