flag_anthro_issues: Flag Anthropometric Issues

View source: R/flag_anthro_issues.R

flag_anthro_issuesR Documentation

Flag Anthropometric Issues

Description

This function creates SMART and WHO flags in an anthropometric dataset, using the mean and sd within the grouping provided for SMART flags.

Usage

flag_anthro_issues(df, grouping = NULL, file_path = NULL)

Arguments

df

Inputs a data frame with anthropometric data that has already been processed by the format_nut_health_indicators and reformat_nut_health_indicators functions.

grouping

Inputs a character value specifying a column name to indicate the groupings for SMART flag creation.

file_path

Inputs an optional character value with the file path for saving an xlsx file of the output

Value

Returns a data frame with additional columns for WHO and SMART flags

Examples

flag_anthro_issues(df = proc_anthro1, grouping = "county")


SaeedR1987/healthyr documentation built on July 4, 2023, 11:17 p.m.