[Rd] duplicates() function

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Apr 11 17:25:40 CEST 2011


Thanks for your answer, but:
1. can you please cite the question? It is hard for mailing list readers 
to follow now.
2. I think
    which(duplicated(x))
should be simpler, faster and less confusing, if your code would be the 
solution - which is not.
3. Please read the original question carefuly and find that your code 
and my optimization of it above gives a different undesired answer.

Best,
Uwe Ligges






On 09.04.2011 01:05, B77S wrote:
> which(duplicated(x)=="TRUE")
>
> --
> View this message in context: http://r.789695.n4.nabble.com/duplicates-function-tp3436584p3437614.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list