Displaying 1 result from an estimated 1 matches for "tp2285557p2285685".
2010 Jul 12
1
problem with comparisons for vectors
...rable. See the examples.
x1 <- 0.5 - 0.3
x2 <- 0.3 - 0.1
x1 == x2 # FALSE on most machines
identical(all.equal(x1, x2), TRUE) # TRUE everywhere
-----
A R learner.
--
View this message in context: http://r.789695.n4.nabble.com/problem-with-comparisons-for-vectors-tp2285557p2285685.html
Sent from the R help mailing list archive at Nabble.com.