Skip to contents

Not just the "duplicated" ones.

Usage

alldup(DF, by)

Arguments

DF

A data frame

by

The column of DF you want to look at duplicates of

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