f_distinct {fastplyr} | R Documentation |
Find distinct rows
Description
Like dplyr::distinct()
but faster when lots of
groups are involved.
Usage
f_distinct(
data,
...,
.keep_all = FALSE,
.order = FALSE,
.sort = deprecated(),
.by = NULL,
.cols = NULL
)
Arguments
data |
A data frame. |
... |
Variables used to find distinct rows. |
.keep_all |
If |
.order |
Should the groups be calculated as ordered groups?
Setting to |
.sort |
|
.by |
(Optional). A selection of columns to group by for this operation. Columns are specified using tidy-select. |
.cols |
(Optional) alternative to |
Value
A data.frame
of distinct groups.
[Package fastplyr version 0.9.0 Index]