get_n_wealth: Function to get number of samples used to calculate indicator...

Description Usage Arguments Value Examples

View source: R/29-get_n.R

Description

Function to get number of samples used to calculate indicator stratified by wealth

Usage

1
get_n_wealth(df, ppiDF = recode_ppi(df = hh), vars)

Arguments

df

A data.frame of recoded indicator variables

ppiDF

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

vars

A character vector of variable names to get number of samples for

Value

A table of numeric values of number of samples use to calculate specific indicators by wealth strata

Examples

1
2
get_n_wealth(df = recode_mcct(create_mcct(df = hh, x = hhMembers)),
             vars = c("mcct1", "mcct2"))

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