[R] Remove Duplicate numbers from a vector through witing set of commands

Jim Holtman jholtman at gmail.com
Fri Jun 10 12:12:15 CEST 2011


?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.



More information about the R-help mailing list