Description Usage Arguments Value Examples
View source: R/24-create_tables.R
Function to create indicator results tables
1 | create_unweighted_table(df, ppiDF = recode_ppi(df = hh), vars, digits = NULL)
|
df |
A recoded data.frame of indicators |
ppiDF |
A data.frame produced when |
vars |
Indicator/s to create a results table for |
digits |
Integer value for number of digits to round off values. Default is NULL for no rounding off. |
A data.frame of indicator results for each state in total and disaggregated by urban, rural and hard-to-reach areas and by wealth quintile.
1 2 3 4 5 6 7 | ## Recode wash indicators
washDF <- recode_wash(df = hh)
create_unweighted_table(df = washDF,
vars = c("summer1", "summer6", "summer5",
"rain1", "rain6", "rain5",
"winter1", "winter6", "winter5"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.