This can be used to assign new categories or change existing ones based on an expression that is evaluated in the context of the data frame.
1 | change_category(data, criteria, value, quiet = FALSE)
|
data |
(can be a grouped_by data set) |
criteria |
an expression to identify records whose category should be change to the new value |
value |
the new category value for the records matching the criteria |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.