[R] seq(...) strange logical value
Grześ
gregorio99 at gmail.com
Mon Jun 8 10:45:15 CEST 2009
Do you heve any idea why I get after this instruction everywhere false?
> seq (0, 1, by=0.1) == 0.3
[1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
But after different step it's ok:
> seq(0, 1, by=0.1) == 0.4
[1] FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE
--
View this message in context: http://www.nabble.com/seq%28...%29-strange-logical-value-tp23920374p23920374.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list