Description Usage Arguments See Also Examples
View source: R/group-indices.R
Generate a unique id for each group
1 2 3 | group_indices(.data, ...)
group_indices_(.data, ..., .dots)
|
.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
|
1 | group_indices(mtcars, cyl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.