f_distinct | R Documentation |
Like dplyr::distinct()
but faster when lots of
groups are involved.
f_distinct(
data,
...,
.keep_all = FALSE,
.order = FALSE,
.sort = deprecated(),
.by = NULL,
.cols = NULL
)
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 |
A data.frame
of distinct groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.