Description Usage Arguments Value Examples
This function groups the data based on the specified variables and assigns an id to each group
1 |
data |
A data frame |
... |
Variables to group by. All variables (columns) will be used if no parameter is provided. |
A numeric vector with the ids of the groups, in the same order as they appear in the data provided.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.