Skip to contents

[Stable]

This function gets duplicate rows in a data frame

Usage

get_duplicates(.data)

Arguments

.data

data frame

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