View source: R/survey_collapse.R
conditionally mutate on columns based on a list of column names and values. This is mostly useful for conditional mutate commands and can currently only mutate uniform columns. It is used inside the survey collapse functions
1 | mutate_key_pair(df, names, values)
|
df |
dataframe |
names |
names of columns to mutate |
values |
uniform values to mutate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.