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