Description Usage Arguments Value References See Also Examples
Plots BMI z-scores and percentiles on standardized growth references using the LMS method for children and adolescents aged 0 to 19 years.
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | 
age | 
 a numeric value (in months) from 0 to 228 depending on the age_range.  | 
sex | 
 preferably numeric (1 = Male, 2 = Female). Strings (such as "Male", "Female") can also be used.  | 
bmi | 
 a numeric value in kilograms per meter squared (kg/m^2).  | 
lwd | 
 Line width allows you to specify a numeric value that control the width of the line plots. By dafult, it is set to 1.  | 
age_range | 
 age range in months. Input has to be characters. It allows "0-24" by default. Other inputs allowed are "24-60" or "61-228".  | 
line.color | 
 The color of the lines. It is set to "skyblue" by default.  | 
graphtype | 
 A character input is required: "z-scores" or "percentiles".  | 
size.label | 
 size of the label for calculated z-score or percentile  | 
size.score | 
 refers to the size of the text for the calculated z-scores (-3,-2,-1,0,1,2,3) or the percentiles.  | 
line.type | 
 Type of line such as: "solid", "dotted", "dashed", "blank", "dotdash", "twodash", "longdash"  | 
shape | 
 of the individual point (marker)  | 
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.  | 
Plots z-scores or percentiles with a mark indicating where the individual person lies within the standardized reference curves.
<https://www.who.int/childgrowth/standards/bmi_for_age/en/>
<https://www.who.int/growthref/who2007_bmi_for_age/en/>
<https://www.who.int/childgrowth/standards/Technical_report.pdf>
indivmuaczs, muaczs, bmizs, muacz.bmiz and plotmuac.
1 2 3 4 5 6 7 8 9  | g1 <- plotbmi(age = 6, sex = 2, bmi = 18.5) # plots Z-scores
g2 <- plotbmi(age = 6, sex = 2, bmi = 18.5, graphtype = "percentiles")
g3 <- plotbmi(age = c(25, 36, 48, 60), sex = 2, bmi = c(15.7, 16.8, 20.6, 12.7),
      age_range = "24-60")
g4 <- plotbmi(age = c(61, 73, 181, 217), sex = 1, bmi = c(12.1, 14.1, 27.1, 35.4),
      age_range = "61-228", graphtype = "percentiles")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.