Hi Arnaud, is very simple:

> unique( datos)


Regards


2009/3/10 <arnaud_mosn...@uqar.qc.ca>

>
> Dear R users,
>
> I have a table with the following form
>
> STATION  X       Y
> 1        -70    30
> 1        -70    30
> 1        -70    30
> 2        -72    29
> 2        -72    29
> 2        -72    29
> 2        -72    29
>
> How want to extract unique value for those columns ... I am sure it is very
> simple, but I can not achieve to find the correct way !
>
> I want to obtain something like
>
> STATION    X     Y
> 1        -70    30
> 2        -72    29
>
> Thanks !!!
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to