| fdistinct {timeplyr} | R Documentation | 
Find distinct rows
Description
Like dplyr::distinct() but faster when lots of
groups are involved.
Usage
fdistinct(
  data,
  ...,
  .keep_all = FALSE,
  sort = FALSE,
  order = sort,
  .by = NULL,
  .cols = NULL
)
Arguments
| data | A data frame. | 
| ... | Variables used to find distinct rows. | 
| .keep_all | If  | 
| sort | Should result be sorted? Default is  | 
| order | Should the groups be calculated as ordered groups?
Setting to  | 
| .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.
See Also
Examples
library(dplyr)
library(timeplyr)
library(ggplot2)
mpg %>%
  distinct(manufacturer)
mpg %>%
  fdistinct(manufacturer)
[Package timeplyr version 0.8.1 Index]