Description Usage Arguments Value TODO Author(s)
For all of the duplicates in x, return the indices for each of these duplicates.
1 | duplicate.indices(x, is.sorted = FALSE)
|
x |
a vector |
is.sorted |
logical: ignored in this version |
a list with each element corresponding to a duplicate entry in x. The value of each element is the numerical indices into x where this duplicate appeared. The name of each element is the duplicate name.
sort x so that you only need to do a local search for duplicates, not a global search.
Mark Cowley, 20 March 2007
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.