Description Usage Arguments Details See Also Examples
Finds elements that occur exactly n times in a vector.
1 | tuplicate(x, n)
|
x |
A vector. |
n |
An integer. |
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).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.