[R] calculate differences - strange outcome

Kunzler, Andreas a.kunzler at bzaek.de
Thu Jul 17 11:47:42 CEST 2008

Dear List,

I ran into some trouble by calculating differences. For me it is
important that differences are either 0 or not.

So I don't understand the outcome of this calculation

[1] -1.136868e-13

I run R version 2.71 on WinXP

I could solve my problem by using
but I would like to know the reason.
Maybe someone can help me?


More information about the R-help mailing list