Dear All,
I have a seemingly very simple question, but I just cannot figure out the 
answer. I attempted to run the following:a=0.1*(1:9);which(a==0.3);it returns 
integer(0). But obviously, the third element of a is equal to 0.3. 
I must have missed something. Can someone kindly explain why? Thanks a lot.
Regards,Dajiang
                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to