any_dups: Output summary of duplicated rows by given keys

any_dupsR Documentation

Output summary of duplicated rows by given keys

Description

Output summary of duplicated rows by given keys

Usage

any_dups(df, keys)

Arguments

keys

a character vector contains column names to be used for grouping

Value

a list, of which 'dups' is a subset dataframe contain only duplicated entries by group, 'dup_count' is a count summary by group, 'dup_row' is row index of duplicated rows by group, and 'dup_row_bool' is boolean of duplicated rows by group


fjoe88/d8ahelper documentation built on Feb. 6, 2023, 7:55 a.m.