Description Usage Arguments Details See Also Examples
Finds elements that are repeated at least n times in a vector.
1 | tuplicated(x, n, ..., fromLast = FALSE)
|
x |
A vector. |
n |
An integer. |
... |
Other optional arguments are ignored. |
fromLast |
A logical indicating if n-replication should be considered
from the right side of the vector. If |
Returns a logical vector that is TRUE
when it runs into
any but the (n-1)
-st occurrences of an element, analogous
to duplicated
.
1 2 | x <- c(NA, 1:3, 4:5, rep(6, 6), 3, NA, 4, 3, 3)
all(tuplicated(x, 3) == triplicated(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.