Description Usage Arguments Examples
Convert a table of dummy variables to a table of its unique combinations
1 2 | get_all_combinations(.data, new_var, clean_name = TRUE,
clean_expr = "_.{1,}$", connector = "_")
|
.data |
data frame with only dummy variable to be converted |
new_var |
name of the new categorical variable to create for representing all combinations of the previous dummy variables. |
clean_name, clean_expr, connector |
technical inputs used for modifying resulting variables names. |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.