Calculate median weight, height, and BMI for age/height for infants and children using CDC Growth Charts data and equations.
Usage
median_weight_for_age(
age,
age_units = c("years", "months", "weeks", "days"),
sex
)
median_height_for_age(
age,
age_units = c("years", "months", "weeks", "days"),
sex
)
median_bmi_for_age(age, age_units = c("years", "months", "weeks", "days"), sex)
median_weight_for_height(
height,
height_units = c("centimetres", "metres", "feet", "inches"),
sex,
population = c("infants", "children")
)
Arguments
- age
A numeric vector of ages in the unit specified in
age_units
.- age_units
A character string specifying the units of all
age
values.- sex
A character vector specifying patient sex. Either
"male"
or"female"
.- height
A numeric vector of heights in the unit specified in
height_units
.- height_units
A character string specifying the units of all
height
values.- population
A character string specifying the population table to use for
median_weight_for_height()
. Either "infants" (birth to 36 months) or "children" (2 to 20 years).
See also
Functions to calculate growth metrics: pct_weight_for_age, pct_height_for_age, pct_bmi_for_age, pct_weight_for_height
CDC Growth Charts data: weight_for_age, height_for_age, bmi_for_age_children, weight_for_height_infants, weight_for_height_children