[Rd] Small inconsistency in help page unique - duplicated doesn't return indices.

From: Joris Meys <jorismeys_at_gmail.com>
Date: Thu, 22 Dec 2011 16:59:38 +0100


I read this in the help page of unique in 2.14.0, but I reckon it's not changed yet in 2.14.1

Under the section 'see also' is mentioned :

    duplicated which gives the indices of duplicated elements.

Afaik duplicated doesn't return the indices but a logical vector. I propose to change to

    duplicated which gives a logical vector indicating duplicated elements.

or something along that line.

Cheers
Joris

-- 
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Mathematical Modelling, Statistics and Bio-Informatics

tel : +32 9 264 59 87
Joris.Meys_at_Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 22 Dec 2011 - 16:01:55 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Fri 23 Dec 2011 - 06:30:19 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