[R] Simple seq() boolean equality problem

Daniel G Polhamus daniel.polhamus at utsa.edu
Tue Feb 24 02:29:08 CET 2009

Hi all, thanks in advance for the help.

Can someone explain to me the following result, and what I'm doing wrong 
in the second case?

 > seq(-43.7,-43.69,.001)[3]==-43.698
[1] TRUE
 > seq(-43.7,-43.69,.001)[2]==-43.699
 > seq(-43.7,-43.69,.001)[1]==-43.7
[1] TRUE


More information about the R-help mailing list