distinct_se: Standard interface for distinct.

Description Usage Arguments Value See Also Examples

View source: R/distinct_se.R

Description

Group a data frame and add per-group indices as a column.

Usage

1
distinct_se(.data, groupingVars, .keep_all = FALSE)

Arguments

.data

data.frame

groupingVars

character vector of column names to group by.

.keep_all

logical, passed to dplyr::distinct.

Value

.data passed through distinct with groupingVars args.

See Also

distinct

Examples

1
datasets::mtcars %.>% distinct_se(., c("cyl", "gear"))

seplyr documentation built on Sept. 5, 2021, 5:12 p.m.