Re: [R] A question on Duplicating

2011-02-10 Thread Keith Jewell
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 >

Re: [R] A question on Duplicating

2011-02-09 Thread rex.dwyer
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

Re: [R] A question on Duplicating

2011-02-09 Thread Ravi Varadhan
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

[R] A question on Duplicating

2011-02-09 Thread Nipesh Bajaj
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