create_id_column {gghilbertstrings} | R Documentation |
Function to create an id column from a character column
Description
Function to create an id column from a character column
Usage
create_id_column(df, col)
Arguments
df |
the dataframe that is used |
col |
the column name in NSE format that should be converted |
Value
a dataframe with an additional gghid column
Examples
mtcars %>% tibble::rownames_to_column() %>% create_id_column(rowname)
[Package gghilbertstrings version 0.3.3 Index]