recode_anthro: Function to recode child anthropometric indicators and...

Description Usage Arguments Value Examples

View source: R/09-recode_anthro.R

Description

Function to recode child anthropometric indicators and calculate anthropometric z-scores

Usage

1
2
3
4
5
6
recode_anthro(
  df,
  core.columns = c("spid", "cid", "did", "eid", "motherID", "m2"),
  flag = TRUE,
  cases = TRUE
)

Arguments

df

A coverage data.frame collected for the Liberia Coverage Survey

core.columns

A vector of variable names to include in resulting data.frame

flag

Logical. Should WHO flagging criteria be applied to the z-scores? Default is TRUE.

cases

Logical. Should cases of child undernutrition be assessed? Default is TRUE.

Value

A data.frame of recoded anthropometric measurements and z-scores

Examples

1

validmeasures/liberiaData documentation built on Dec. 2, 2020, 3:32 a.m.