Re: [R] "match" and "which" give NA for some values, but not others

2011-07-27 Thread Rolf Turner
You are failing to take account of floating point arithmetic. This is FAQ 7.31. Really, it is advisable to check the FAQ before firing off a naive inquiry to the r-help list. cheers, Rolf Turner On 27/07/11 15:50, Heemun Kwok wrote: Hello list, I am having trouble with "match" an

Re: [R] "match" and "which" give NA for some values, but not others

2011-07-27 Thread Daniel Nordlund
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Heemun Kwok > Sent: Tuesday, July 26, 2011 8:50 PM > To: r-help@r-project.org > Subject: [R] "match" and "which" give NA for some values, but not others > > Hello list, > I am hav