duplicate.indices: For all of the duplicates in x, return the indices for each...

Description Usage Arguments Value TODO Author(s)

Description

For all of the duplicates in x, return the indices for each of these duplicates.

Usage

1

Arguments

x

a vector

is.sorted

logical: ignored in this version

Value

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.

TODO

sort x so that you only need to do a local search for duplicates, not a global search.

Author(s)

Mark Cowley, 20 March 2007


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.