find_dups | R Documentation |
find all elements that have duplicates in a vector
find_dups(..., re_sort = FALSE, sep = " ", as.logical = FALSE)
vec |
A vector |
a logical vector with all positions marked TRUE being duplicates
find_dups(c(1,1,1,3,5))
find_dups(c(1,3,1,3,1))
find_dups(c(3,1,5,4,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.