Re: [Rd] duplicates() function

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Mon, 11 Apr 2011 17:25:40 +0200

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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 11 Apr 2011 - 15:28:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 11 Apr 2011 - 15:50:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive