group_indices

0th

Percentile

Group id.

Generate a unique id for each group

Usage
group_indices(.data, ...)

group_indices_(.data, ..., .dots, add = FALSE)

Arguments
.data
a tbl
...
variables to group by. All tbls accept variable names, some will also accept functions of variables. Duplicated groups will be silently dropped.
.dots
Used to work around non-standard evaluation. See vignette("nse") for details.
add
By default, when add = FALSE, group_by will override existing groups. To instead add to the existing groups, use add = TRUE
See Also

group_by

Aliases
  • group_indices
  • group_indices_
Examples
group_indices(mtcars, cyl)
Documentation reproduced from package dplyr, version 0.4.0.9000, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.