indivmuaczs: Generate MUAC z scores and percentiles for age for single...

Description Usage Arguments Value References See Also Examples

View source: R/muac.R

Description

Generates MUAC z-Scores and percentiles for individual subjects by entering their age (in months), sex and muac (in cm) directly. This is useful for children and adolescents aged 3 months to 19 years and to assess their nutritional and health status, and define risk of adverse health events.

Usage

1
2
3
4
5
6
7
8
9
indivmuaczs(
  age = 60,
  sex = 1,
  muac = 10,
  age_range = "3-60",
  digits.zscore = 2,
  digits.perc = 2,
  Notes = FALSE
)

Arguments

age

a numeric value (in months) between 3 and 228 depending on the age_range.

sex

preferably numeric (1 = Male, 2 = Female). Strings can also be used.

muac

a numeric mid upper arm circumference value in cm.

age_range

age range in months. Input has to be characters. Options allowed are: "3-60" the default, or "60-228".

digits.zscore

The number of digits for z-score variable

digits.perc

The number of digits for percentile variable

Notes

Is FALSE by default. If set to TRUE, 'notes' will be printed on the console about the nature, range of variables allowed and number of records processed.

Value

A DataFrame with MUAC z-scores and percentiles.

References

Mramba L., Ngari M., Mwangome M., Muchai L., Bauni E., Walker A.S., Gibb D.M., Fegan G. and Berkley J.A. (2017) A growth reference for mid upper arm circumference for age among school age children and adolescents, and validation for mortality: growth curve construction and longitudinal cohort study BMJ 2017;358:j3423 <doi:10.1136/bmj.j3423>

<https://www.bmj.com/content/358/bmj.j3423>

<https://www.bmj.com/content/358/bmj.j3423/related#datasupp>

<https://www.who.int/childgrowth/standards/Technical_report.pdf>

<https://www.who.int/childgrowth/standards/ac_for_age/en/>

See Also

muaczs, bmizs, muacz.bmiz, plotmuac and plotbmi.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
test0 <- indivmuaczs(age = 70, sex = "Female", muac = 15.8,
          age_range = "60-228")
# test0

test1 <- indivmuaczs(age = c(4, 40, 60), sex = "Male",
          muac = c(17.2, 17.2, 19.8), age_range = "3-60")
# test1

test2 <- indivmuaczs(age = c(4, 40, 60), sex = 2,
         muac = c(14.9, 17.7, 19))
# test2

res2 <- indivmuaczs(age = 70, sex = c(1, 1, 2, 2, 2, 1),
                   muac = c(23.1, 15.2, 18.4, 13.9, 19.5, 14.6),
                   age_range = "60-228")
# res2

MUACz documentation built on July 16, 2020, 9:07 a.m.

Related to indivmuaczs in MUACz...