powered by
Group a data frame and add per-group indices as a column.
distinct_se(.data, groupingVars, .keep_all = FALSE)
data.frame
character vector of column names to group by.
logical, passed to dplyr::distinct.
.data passed through distinct with groupingVars args.
distinct
# NOT RUN { datasets::mtcars %.>% distinct_se(., c("cyl", "gear")) # }
Run the code above in your browser using DataLab