![](../logo.png)
Separate duplicated data frame rows from rows with no duplicates
Source:R/get_comparison.R
find_dups.Rd
Separates a data frame into sub-data frames based on types of row duplication
or lack thereof. Also identifies NA
values in id_cols
.
Value
a names list with four elements:
exact_dups
: rows which were duplicated for every value, there will be one distinct row inexact_dups
for each case and the columnn
will list how many occurences of the row were indf
.id_dups
: rows which were duplicated based onid_cols
but had other values that differed, the columnn
contains how many ID duplicates of one ID exist indf
id_NA
: rows which had anNA
value in aid_cols
columnno_dups
: this isdf
with allid_dups
row removed and only one copy of eachexact_dups
row.