Re: [Rd] Ordering of values returned by unique

From: Tony Plate <tplate_at_blackmesacapital.com>
Date: Thu 30 Sep 2004 - 02:37:19 EST

At Wednesday 10:09 AM 9/29/2004, I wrote:
>[snip]

>So, I think the evidence is pretty strong that unique(x) will always
>return elements in the same order as they first appear in x. But it would
>be nice if the documentation for 'unique' explicitly stated that this is
>the behavior for all methods. (It does state this for the array method
>for 'unique').

My mistake. The documentation for 'unique' does actually state this in the "VALUE" section, as Eryk points out.


R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Sep 30 02:43:14 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:17 EST