Description Usage Arguments Details See Also Examples
Finds values that are repeated at least three times in a vector.
1 | triplicated(x, ..., fromLast = FALSE)
|
x |
A vector. |
... |
Other optional arguments are ignored. |
fromLast |
A logical indicating if triplication should be considered from
the reverse side, i.e., the two last (or rightmost) of identical
elements would return |
Returns a logical vector that is TRUE
when it runs into
any but the first or second occurrences of a value, analogous
to duplicated
.
1 | triplicated(c(NA, 1:3, 3, 4:6, 3, NA, 4, 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.