Z B
2011-Jun-10 05:22 UTC
[R] Remove Duplicate numbers from a vector through witing set of commands
Hi, I want to write a set of commands instead of "unique(x)" to remove duplicate numbers from a vector. Would you please help me. I don't know how to compare a vector numbers together. I am new to R. Thanks. [[alternative HTML version deleted]]
Jim Holtman
2011-Jun-10 10:12 UTC
[R] Remove Duplicate numbers from a vector through witing set of commands
?duplicated Sent from my iPad On Jun 10, 2011, at 1:22, Z B <z20.r20 at googlemail.com> wrote:> Hi, > > I want to write a set of commands instead of "unique(x)" to remove duplicate > numbers from a vector. > > Would you please help me. I don't know how to compare a vector numbers > together. I am new to R. > > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.