distinct_se: Standard interface for distinct.

View source: R/distinct_se.R

distinct_seR Documentation

Standard interface for distinct.

Description

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

Usage

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



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


WinVector/seplyr documentation built on Aug. 26, 2022, 12:01 p.m.