find_child_underweight: Find children who are underweight from an anthropometric...

View source: R/find_undernutrition.R

find_child_underweightR Documentation

Find children who are underweight from an anthropometric dataset

Description

Find children who are underweight from an anthropometric dataset

Usage

find_child_underweight(df, zscore = "waz", flag = NULL, add = TRUE)

Arguments

df

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

zscore

A character value for variable name for weight-for-age z-score in df. Default is waz

flag

A character value for variable name of coded flags applied to weight-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 underweight be added to df? Default is TRUE

Value

if add TRUE, returns df with recode values indicating underweight cases.

Examples


find_child_underweight(df = zscorer::anthro1,
                       zscore = "waz",
                       flag = NULL,
                       add = TRUE)


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