find_child_stunting: Find children who are stunting/stunted from an anthropometric...

View source: R/find_undernutrition.R

find_child_stuntingR Documentation

Find children who are stunting/stunted from an anthropometric dataset

Description

Find children who are stunting/stunted from an anthropometric dataset

Usage

find_child_stunting(df, zscore = "haz", flag = NULL, add = TRUE)

Arguments

df

A data.frame containing anthropometric z-score indices for height-for-age

zscore

A character value for variable name for height-for-age z-score in df. Default is haz

flag

A character value for variable name of coded flags applied to height-for-age z-score values in df. Default is NULL indicating that flags have already been applied and flagged values have been censored.

add

Logical. Should recode values for stunting/stunted be added to df? Default is TRUE

Value

if add TRUE, returns df with recode values indicating stunting or stunted cases.

Examples


find_child_stunting(df = zscorer::anthro1,
                    zscore = "haz",
                    flag = NULL, add = TRUE)


nutriverse/nutricheckr documentation built on April 1, 2022, 7:44 p.m.