View source: R/flag_anthro_issues.R
flag_anthro_issues | R Documentation |
This function creates SMART and WHO flags in an anthropometric dataset, using the mean and sd within the grouping provided for SMART flags.
flag_anthro_issues(df, grouping = NULL, file_path = NULL)
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 |
Returns a data frame with additional columns for WHO and SMART flags
flag_anthro_issues(df = proc_anthro1, grouping = "county")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.