| list_duplicates | R Documentation |
Lists all duplicates as a list of tuples.
list_duplicates(x, ...)
## S3 method for class 'character'
list_duplicates(x, ...)
## S3 method for class 'tbl'
list_duplicates(x, ...)
## S3 method for class 'data.frame'
list_duplicates(x, ...)
x |
object of class |
... |
further arguments passed to or from other methods. |
list of row numbers with duplicates
list_duplicates(character): list duplicates for a character vector.
list_duplicates(tbl): lists duplicates for a tibble.
list_duplicates(data.frame): lists duplicates for a data.frame.
list_duplicates(c("a", "b", "c")) # list()
list_duplicates(c("a", "b", "a", "c")) # list(c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.