View source: R/df_add_category.R
df_add_category | R Documentation |
Add category for column.
df_add_category(x, col, values, new.value, factor.handling = "keep")
x |
[ |
col |
[ |
values |
[ |
new.value |
[ |
factor.handling |
[ |
Modified data frame.
Other data frame helpers:
df_add_constant_columns()
,
df_explode()
,
df_rows_to_list()
,
df_split_col()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.