View source: R/rename_category.R
rename_category | R Documentation |
stylo
data for stylo2gg
.Rename a category of stylo
data for stylo2gg
.
rename_category(df, before, after)
df |
An object saved from running |
before |
A string representing the name of the category
in the |
after |
A string representing the new name to be used for this category |
This change will not overwrite values in the originating
df
object.
## Not run:
my_data <- stylo()
my_data %>% rename_category("NA", "unknown")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.