[R] Find identical pairs

2012-03-08 Thread Alaios
Dear all I am having two numerical vector the x and y. I would like to find the identical x,y pairs. How I can do that in R? I would like to thank you in advance B.R Alex [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] Find identical pairs

2012-03-08 Thread R. Michael Weylandt
Perhaps which(x == y) or intersect(x,y) or x %in% y or many others. You really need to give an example of x and y and say what you mean by identical pairs to get any concrete suggestions. Michael On Thu, Mar 8, 2012 at 11:17 AM, Alaios ala...@yahoo.com wrote: Dear all I am having two numerical

Re: [R] Find identical pairs

2012-03-08 Thread Downey, Patrick
] Find identical pairs Dear all I am having two numerical vector the x and y. I would like to find the identical x,y pairs. How I can do that in R? I would like to thank you in advance B.R Alex [[alternative HTML version deleted]] __ R-help@r