View source: R/add_group_identifier.R
add_group_identifier | R Documentation |
Function to give unique identifiers to groups within data
add_group_identifier(df, type = "numbers", as_factor = F)
df |
Input data frame or tibble |
type |
Type of identifier. Either 'numbers' or 'letters' |
as_factor |
Should the new column be a factor? |
Tibble
Shona Wilde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.