Re: [R] precision of minus operation and if statments

2010-07-29 Thread ONKELINX, Thierry
d from a given body of data. ~ John Tukey > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens yoni gavish > Verzonden: donderdag 29 juli 2010 8:23 > Aan: r-help@r-project.org > Onderwerp: [R] precision of minus

[R] precision of minus operation and if statments

2010-07-29 Thread yoni gavish
Hi Everyone, as part of a larger script, I need to insert the result of a simple minus operation into an if statement. I have noticed that the precision that appear on the screen is not the precision in which R stores the result of the minus operation, and that this change alters the result