> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Praveen Surendran
> Sent: Wednesday, October 14, 2009 9:15 AM
> To: r-help@r-project.org
> Subject: [R] Getting indeices of intersecting elements.
>
> Hi
On Oct 14, 2009, at 12:15 PM, Praveen Surendran wrote:
Hi,
Is there a command to get the indices of intersecting elements of two
vectors as intersect() will give the elements and not its indices.
?which
samp1 <- sample(seq(3,198, by=3), 20); samp2 <- sample(seq(3,198,
by=3), 20)
in
Hi,
Is there a command to get the indices of intersecting elements of two
vectors as intersect() will give the elements and not its indices.
Thanks in advance.
Praveen Surendran
School of Medicine and Medical Sciences
University College Dublin
Belfield, Dublin 4
Ireland.
3 matches
Mail list logo