powered by
Shows records with duplicate or duplicated values of grouping variables.
# S3 method for grouped_df dup(x, ...)
grouped_df
data.frame
ignored
Other dup: dup()
dup()
library(dplyr) dup(group_by(mtcars, mpg))
Run the code above in your browser using DataLab