View source: R/GenderControlAll.R
widen_gender_columns | R Documentation |
Take gender categories and a processed dataset, reformat the gender control variables into a more useable format
widen_gender_columns(processed_data, gender_group, column_pattern)
processed_data |
A processed dataset, containing the gender columns |
gender_group |
Which gender group you're interested in |
column_pattern |
The pattern of the column you are processing (e.g. for "male_youth_crop_consumed_kg", the pattern would be "crop_consumed_kg" |
Rpackage file: GenderControlAll.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.