Description Usage Arguments Details Value Author(s) See Also Examples
Finds the indices of duplicated elements in the vector given.
1 | duplicateIndices(vec)
|
vec |
Vector of identifiers presumably duplicated |
For each duplication it can return a list or if all the duplication events are of the same length it returns a matrix, where each column is duplicated.
The format is determined by the simplify2array
Llu<c3><ad>s Revilla
1 2 3 | duplicateIndices(c("52", "52", "53", "55")) # One repeated element
duplicateIndices(c("52", "52", "53", "55", "55")) # Repeated elements
duplicateIndices(c("52", "55", "53", "55", "52")) # Mixed repeated elements
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.