From tplate at blackmesacapital.com  Wed Sep 29 19:23:42 2004
From: tplate at blackmesacapital.com (Tony Plate)
Date: Wed Sep 29 19:24:05 2004
Subject: [Rd] Ordering of values returned by unique
In-Reply-To: <cjeogs$hjh$1@sea.gmane.org>
References: <415AD222.4050908@molgen.mpg.de>
	<6.1.0.6.2.20040929094231.05e42a00@mailhost.blackmesacapital.com>
	<cjeogs$hjh$1@sea.gmane.org>
Message-ID: <6.1.0.6.2.20040929112035.05eee5d0@mailhost.blackmesacapital.com>

"Blue book" and "Green book" are nicknames for books that are primary 
references for the S language, see FAQ 3.1.

"MASS 4th Ed" is W. N. Venables and B. D. Ripley (2002), "Modern Applied 
Statistics with S. Fourth Edition". Springer, ISBN 0-387-95457-0

At Wednesday 10:39 AM 9/29/2004, Earl F. Glynn wrote:
>"Tony Plate" <tplate@blackmesacapital.com> wrote in message
>news:6.1.0.6.2.20040929094231.05e42a00@mailhost.blackmesacapital.com...
> > I depend on this all the time, so I also checked some references.  In the
> > Blue book the documentation for the functions unique and duplicated is
> > combined and implies the above.  In MASS 4th Ed, the page referred to by
> > the index entry for 'unique' (p48, #9 in my copy) states that 'unique'
> > removes duplicates as identified by 'duplicated', which implies that the
> > order of retained elements is not changed.  The Green book has no index
> > entry for 'unique'.  In S-plus the implementation of unique.default(x)
>uses
> > x[!duplicated(x)].
>
>So what is the "Blue book", the "Green book", and MASS 4th Ed?
>
>efg
>
>______________________________________________
>R-devel@stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Ordering of values returned by unique
Tony Plate