Finds elements that occur exactly n times in a vector.
Usage
tuplicate(x, n)
Arguments
x
A vector.
n
An integer.
Details
Returns the n-replicated elements in the same order that they would be
returned in a call to orphan. This fundamentally
differs from tuplicated, which returns
a logical vector that is TRUE when it runs into any but
the (n-1)-st and fewer occurrences of an element
(and is therefore dependent on the direction of testing of the vector).