Re: [R] identical values not so identical? newbie help please!

From: maiya <>
Date: Thu, 10 Mar 2011 10:34:21 -0800 (PST)

Thanks Josh and Dan!

I did figure it had something to do with the machine epsilon...

But so what do I do now? I'm calculating the total absolute error over thousands of tables e.g.:
Is there any easy way to I keep these ignorable errors from showing up?

And furthermore, why does this happen only sometimes? The two (2D) tables I attached are actually just one 'layer' in a 3D table. And only 2 out of about 400 layers had this happen, all the other ones are identical - perfectly! And out of 2000 3D tables, about 60 of which should have no error, only 10 actually show an error of zero, and in the rest this same thing happens in a few layers.

OK, this is a bit messy for a real question. I mean I can just round down all the errors that are under 1e-8 or something, but I'd much rather this not happen in the first place?

Thanks again to the two posters for bothering with me!


View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 10 Mar 2011 - 18:53:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Mar 2011 - 20:10:20 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive