View source: R/find_duplicates.R
find_duplicates | R Documentation |
Find duplicate observations in a data frame by a identifier.
find_duplicates(x, ..., sort = FALSE, name = "n")
x |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). |
... |
< |
sort |
If |
name |
The name of the new column in the output. If omitted, it will default to |
x <- data.frame(subject = c("a", "a", "b", "c", "c"))
find_duplicates(x, subject)
find_duplicates(mtcars, vs, am)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.