Description Usage Arguments Details Value Borrowing from the {tidyverse} See Also
Shorthand for {dplyr} functions called consecutively.
1 |
data |
A |
... |
Optional variables to use when determining uniqueness. If there are multiple rows for a given combination of inputs, only the first row will be preserved. If omitted, will use all variables. |
sort |
if |
.by_group |
If |
Note that arranging is performed on the column used to compute
the value for dplyr::count(), which is different than simply
calling dplyr::count(x, ..., sort = TRUE) (which sorts by the output column n).
For this reason, no sort option is provided (to prevent the user from
mistakenly using this function in such a manner).
A tibble.
{tidyverse}The logic for handling ... is borrowed from a review of the internals for
tidyr::unite() and tidyr::gather().
Other dplyr-combos: arrange_distinctly,
pull_distinctly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.