findRepeated | R Documentation |
findRepeated
gets index of repeated items/values in vector 'x' (will be treated as character).
Return (named) list of indexes for each of the repeated values, or NULL
if all values are unique.
This approach is similar but more basic compared to get1stOfRepeatedByCol
.
findRepeated(x, nonRepeated = FALSE, silent = FALSE, callFrom = NULL)
x |
character vector |
nonRepeated |
(logical) if |
silent |
(logical) suppress messages |
callFrom |
(character) allow easier tracking of message(s) produced |
(named) list of indexes for each of the repeated values, or NULL if all values unique
similar approach but more basic than get1stOfRepeatedByCol
aa <- c(11:16,14:12,14); findRepeated(aa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.