filter_duplicates_dplyr: Filter duplicated row by the columns ...

View source: R/filter_duplicates.R

filter_duplicates_dplyrR Documentation

Filter duplicated row by the columns ...

Description

Filter duplicated row by the columns ...

Usage

filter_duplicates_dplyr(data, ...)

Arguments

data

a data.frame-like

...

columns (unquoted) to consider to identify duplicated rows

Value

a tibble, subset of data, containing only duplicated rows by the columns indicated by ..., and including an additional column .ndups with the number of duplicated rows for each group The returned data are sorted by the columns, to be able to inspect the duplicated together

Examples

filter_duplicates_dplyr(ggplot2::diamonds, carat, cut, price)

edalfon/efun documentation built on June 23, 2024, 4:17 a.m.