View source: R/ReformatLoops.R
proportion_control_per_person | R Documentation |
For the RHoMIS gender columns, we ask who in the household collects each resource. This function is designed to be applied to each item (spicific row for specific column)
proportion_control_per_person(item)
item |
The specific string, for which we want to count the number controlling the resource |
Rpackage file: ReformatLoops.R
A proportion (0-1) for the people controlling resource
column <- c("male_adult female_adult", "male_adult", NA, "female_youth")
proportion_control_per_person(column)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.