Skip to content

Instantly share code, notes, and snippets.

@statgeek
Created September 16, 2019 16:17
Show Gist options
  • Select an option

  • Save statgeek/a66870b871d479c3648eec206a8d83ef to your computer and use it in GitHub Desktop.

Select an option

Save statgeek/a66870b871d479c3648eec206a8d83ef to your computer and use it in GitHub Desktop.
R - finding duplicates - tidyverse
##This program illustrates how to find duplicates in your data set for a particular key
##All duplicate records will be indentified
mtcars %>%
group_by(carb) %>%
filter(n()>1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment