Identifies rows with duplicate key values.
Examples
df <- data.frame(id = c(1, 1, 2, 3, 3, 3), x = letters[1:6])
find_duplicates(df, id)
pkgdown/mathjax-config.html
Skip to contentsIdentifies rows with duplicate key values.
df <- data.frame(id = c(1, 1, 2, 3, 3, 3), x = letters[1:6])
find_duplicates(df, id)