Show all duplicate entries in a data frame/table/vector
alldup.Rd
Not just the "duplicated" ones.
Examples
DF <- data.frame(x = 1:3, y = c(1, 1, 2))
alldup(DF, "x")
#> [1] x y
#> <0 rows> (or 0-length row.names)
alldup(DF, "y")
#> x y
#> 1 1 1
#> 2 2 1
alldup(DF$y)
#> [1] 1 1