Examples
data.frame(
var1 = c(1,1,1,1),
var2 = c(2,2,2,3)
) -> data
get_duplicates(data)
#> # A tibble: 2 × 2
#> var1 var2
#> <dbl> <dbl>
#> 1 1 2
#> 2 1 2
data.frame(
var1 = c(1,1,1,1),
var2 = c(2,2,2,3)
) -> data
get_duplicates(data)
#> # A tibble: 2 × 2
#> var1 var2
#> <dbl> <dbl>
#> 1 1 2
#> 2 1 2