create_unweighted_table: Function to create indicator results tables

Description Usage Arguments Value Examples

View source: R/24-create_tables.R

Description

Function to create indicator results tables

Usage

1
create_unweighted_table(df, ppiDF = recode_ppi(df = hh), vars, digits = NULL)

Arguments

df

A recoded data.frame of indicators

ppiDF

A data.frame produced when recode_ppi is applied to the hh dataset of the Myanmar MCCT Programme Evaluation

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.

Value

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.

Examples

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"))

validmeasures/myanmarMCCTdata documentation built on March 29, 2020, 10:27 p.m.