length(ab)==length(unique(ab))
>
> This should work unless you use 3 consecutive winking elephants in other
> places in your program.
>
>
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Nipesh Bajaj
>
pesh Bajaj
Sent: Wednesday, February 09, 2011 10:12 AM
To: r-help@r-project.org
Subject: [R] A question on Duplicating
Hello I am struggling to accomplice an idea which is as follows:
I have a vector say: a <- c("a", "b", "c", "a") and another: b &l
kins University
Ph. (410) 502-2619
email: rvarad...@jhmi.edu
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Nipesh Bajaj
Sent: Wednesday, February 09, 2011 10:12 AM
To: r-help@r-project.org
Subject: [R] A question on Duplicating
Hello
Hello I am struggling to accomplice an idea which is as follows:
I have a vector say: a <- c("a", "b", "c", "a") and another: b <- c("m",
"n", "o", "m"). Length of those 2 vectors are essentially be same. Here task
is to check the duplicates in the vector 'a' and then to check whether any
duplicat
4 matches
Mail list logo