I got this output in R, which I can't understand: I'm looking at whether the entries of the vector aa
are present in the vector bb
below. Could anybody explain me why is this that the entries of my output vector aren't all TRUE
, as one would expect?
aa <- seq(0.1, 0.5, by = 0.1)
bb <- seq(0.01, 0.99, by = 0.01)
aa %in% bb
[1] FALSE TRUE FALSE TRUE TRUE
Thank you