From a818fc28f1c86697c648a943c7e5cf6fe5be6ab4 Mon Sep 17 00:00:00 2001 From: Alex Spina Date: Fri, 31 Oct 2025 20:10:39 +0100 Subject: [PATCH] edits as per email --- inst/rmarkdown/templates/nutrition/skeleton/skeleton.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/rmarkdown/templates/nutrition/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/nutrition/skeleton/skeleton.Rmd index 19d9c5f3..e4524d95 100644 --- a/inst/rmarkdown/templates/nutrition/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/nutrition/skeleton/skeleton.Rmd @@ -54,7 +54,7 @@ In order to estimate underweight in the surveyed population, we looked at Weight * Severe underweight: WAZ <-3 -Exclusion of z-scores from Observed mean SMART flags included: +Exclusion of z-scores from Observed mean WHO flags included: * WHZ: <-5 or >5; * HAZ: <-6 or >6; * WAZ: <-6 or >5. @@ -752,7 +752,7 @@ study_data_cleaned <- bind_cols(study_data_cleaned, zscore_results) study_data_cleaned <- study_data_cleaned %>% mutate( gam_whz = zwfl < -2 | oedema == "Yes", - mam_whz = zwfl >= -3 & zwei < -2, + mam_whz = zwfl >= -3 & zwfl < -2 & oedema == "No", sam_whz = zwfl < -3 | oedema == "Yes" ) %>% ## set flagged children to NA for each of the indicator variables