Try this:

DF[duplicated(DF$value),]

On Mon, Jul 5, 2010 at 1:31 PM, Moohwan Kim <kmhl...@gmail.com> wrote:

> Dear R family,
>
> I have a question about how to detect some duplicate numeric observations.
> Suppose that I have two variables dataset.
>
> order value
> 1  0.52
> 2  0.23
> 3  0.43
> 4  0.21
> 5  0.32
> 6  0.32
> 7  0.32
> 8  0.32
> 9  0.32
> 10 0.12
> 11 0.46
> 12 0.09
> 13 0.32
> 14 0.25
> ;
> Could you help me indicate where the duplicate observations in a row
> (e.g., 0.32) are?
>
> best,
> moohwan
>
> ______________________________________________
> 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[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