igb_value2zscore: Convert birth measurements to INTERGROWTH z-scores/centiles...

View source: R/standard_igb.R

igb_value2centileR Documentation

Convert birth measurements to INTERGROWTH z-scores/centiles (generic)

Description

Convert birth measurements to INTERGROWTH z-scores/centiles (generic)

Usage

igb_value2centile(gagebrth, val, var = "lencm", sex = "Female")

igb_value2zscore(gagebrth, val, var = "lencm", sex = "Female")

Arguments

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"

Note

For gestational ages between 24 and 33 weeks, the INTERGROWTH very early preterm standard is used.

References

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.

Examples

# 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")

ki-tools/growthstandards documentation built on Jan. 4, 2024, 2:04 a.m.