weight_for_stature | R Documentation |
Weight for stature quantile, distribution, and zscore function based on LMS data from the CDC and WHO.
p_weight_for_height(
q,
male,
height,
source = getOption("pedbp_pgs_source", "CDC"),
...
)
q_weight_for_height(
p,
male,
height,
source = getOption("pedbp_pgs_source", "CDC"),
...
)
z_weight_for_height(
q,
male,
height,
source = getOption("pedbp_pgs_source", "CDC"),
...
)
p_weight_for_length(
q,
male,
length,
source = getOption("pedbp_pgs_source", "CDC"),
...
)
q_weight_for_length(
p,
male,
length,
source = getOption("pedbp_pgs_source", "CDC"),
...
)
z_weight_for_length(
q,
male,
length,
source = getOption("pedbp_pgs_source", "CDC"),
...
)
q |
a vector of quantiles |
male |
integer value, 1 = male, 0 = female |
source |
a character string denoting the data source providing the
parameters needed for the estimate. Valid values are "CDC" and "WHO". This
can be set explicitly, or by using the |
... |
pass through |
p |
a vector of probabilities |
length , height |
in centimeters |
Length or height values are used. Length is assess when the patient is lying down versus height when the patient is standing. There is an implication of younger patients being in the _for_length set. There is some overlap in numeric values of length and height.
p_
method return values from the estimated distribution function.
q_
methods return values from the estimated quantile function.
z_
methods return standard scores.
CDC Recommends using WHO growth charts for infants and children ages 0 to 2 years of age in the U.S. and CDC growth charts to monitor growth for children age 2 years and older in the U.S.
https://www.cdc.gov/growthcharts/percentile_data_files.htm, https://www.who.int/tools/child-growth-standards/standards
Distribution functions:
bmi_for_age
head_circumference_for_age
height_for_age
length_for_age
weight_for_age
weight_for_length
weight_for_height
Plotting functions:
gs_chart
gs_cdf
Vignette:
vignette(topic = "growth-standards", package = "pedbp")
# The 60th weight qualtile for a 1.2 meter tall male is
q_weight_for_height(p = 0.60, male = 1, height = 120, source = "CDC")
q_weight_for_height(p = 0.60, male = 1, height = 120, source = "WHO")
# There are slight differences in the quantiles for length and height
q_weight_for_length(p = 0.60, male = 1, length = 97, source = "CDC")
q_weight_for_height(p = 0.60, male = 1, height = 97, source = "CDC")
# percentiles and standard scores for a 14 kg, 88 cm tall/long male
p_weight_for_height(q = 14, male = 1, height = 88, source = "CDC")
p_weight_for_height(q = 14, male = 1, height = 88, source = "WHO")
p_weight_for_length(q = 14, male = 1, length = 88, source = "CDC")
p_weight_for_length(q = 14, male = 1, length = 88, source = "WHO")
# correseponding standard scores
z_weight_for_height(q = 14, male = 1, height = 88, source = "CDC")
z_weight_for_height(q = 14, male = 1, height = 88, source = "WHO")
z_weight_for_length(q = 14, male = 1, length = 88, source = "CDC")
z_weight_for_length(q = 14, male = 1, length = 88, source = "WHO")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.