igb_value2centile | R Documentation |
Convert birth measurements to INTERGROWTH z-scores/centiles (generic)
igb_value2centile(gagebrth, val, var = "lencm", sex = "Female")
igb_value2zscore(gagebrth, val, var = "lencm", sex = "Female")
gagebrth |
gestational age at birth in days |
val |
the value(s) of the anthro measurement to convert |
var |
the name of the measurement to convert ("lencm", "wtkg", "hcircm", "wlr") |
sex |
"Male" or "Female" |
For gestational ages between 24 and 33 weeks, the INTERGROWTH very early preterm standard is used.
International standards for newborn weight, length, and head circumference by gestational age and sex: the Newborn Cross-Sectional Study of the INTERGROWTH-21st Project Villar, José et al. The Lancet, Volume 384, Issue 9946, 857-868
INTERGROWTH-21st very preterm size at birth reference charts. Lancet 2016 doi.org/10.1016/S0140-6736(16) 00384-6. Villar, José et al.
# get Male birth length z-scores
# first we need just 1 record per subject with subject-level data
cppsubj <- subset(cpp, !duplicated(cpp$subjid))
cppsubj <- subset(cppsubj, sex == "Male")
igb_value2zscore(cpp$gagebrth, cpp$birthlen, var = "lencm", sex = "Male")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.