on which seems to be
the mean difference from the mean of the data:
for (i = 0; i < n; i++) t += (REAL(x)[i] - s);
s += t/n;
I haven't been able to track this algorithm down anywhere (mean is not a
great search term).
Any help would be much appreci
half
> of Joshua Ulrich [josh.m.ulr...@gmail.com]
> Sent: Friday, July 26, 2013 7:12 AM
> To: Zach Harrington
> Cc: r-devel@r-project.org List
> Subject: Re: [Rd] What algorithm is R using to calculate mean?
>
> This was also asked on StackOverflow:
> http://stackoverflow.com