create_table: Function to create indicator results tables

Description Usage Arguments Value Examples

View source: R/24-create_tables.R

Description

This function performs an exact binomial test on the data for the indicator of interest and provides an estimate of the indicator proportion and the corresponding 95% confidence interval. This assumes that the probability weights of selection of an respondent are equal (given that sample has been taken using probability proportional to population size, this assumption holds true unless otherwise stated).

Usage

1

Arguments

df

A recoded data.frame of indicators

var

Indicator to create a results table for

Value

A data.frame of indicator results with 95% confidence limits for each state in total and disaggregated by urban, rural and hard-to-reach areas.

Examples

1
2
3
4
## Recode anthro indicators
temp <- recode_anthro(df = create_canthro(df = childAnthro, x = anthroDF))

create_table(df = temp, var = "global.haz")

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