create_anthro_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_anthro_table(df, vars, digits = NULL)

Arguments

df

A recoded data.frame of indicators

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
## Recode wash indicators
canthro  <- recode_anthro(df = create_canthro(df = childAnthro, x = anthroDF))

create_anthro_table(df = canthro,
                    vars = c("haz", "global.haz", "moderate.haz", "severe.haz"))

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