Finding Equal Elements in Vectors
On Sun, Feb 27, 2005 at 09:24:54AM -0600, Marc Schwartz wrote:
which(a %in% b)
[1] 8 9 10 See ?"%in%" and ?which for more information.
Thanks for all your replies. This was what I actually wanted to use! -S.