Re: [R] different results form summarization by loop and sum or rowMeans function

2008-09-11 Thread Prof Brian Ripley
On Thu, 11 Sep 2008, Markus Schmidberger wrote: Hi, I found different results calculating the rowMeans by the function rowMeans() and a simple for-loop. The differences are very low. But after this Indeed, but the C code (rowMeans) is likely to be more accurate as it uses an extended-precis

Re: [R] different results form summarization by loop and sum or rowMeans function

2008-09-11 Thread jim holtman
How low is "very low"? This is probably answered by FAQ 7.31 On Thu, Sep 11, 2008 at 9:49 AM, Markus Schmidberger <[EMAIL PROTECTED]> wrote: > Hi, > > I found different results calculating the rowMeans by the function > rowMeans() and a simple for-loop. The differences are very low. But after > t

[R] different results form summarization by loop and sum or rowMeans function

2008-09-11 Thread Markus Schmidberger
Hi, I found different results calculating the rowMeans by the function rowMeans() and a simple for-loop. The differences are very low. But after this calculation I will start some optimization algorithms (BFGS or CG) and there I get huge differences (from the small changes in the beginning or