Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions inst/rmarkdown/templates/nutrition/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
Loading