targetheight | R Documentation |
This function calculates the target height of a child based on the height of the biological parents, using the method proposed by Hermanussen & Cole (2003) with a simplified formula for the Dutch population.
targetheight(hgtf, hgtm, sex, etn = NULL)
hgtf |
Numeric vector with the height of the biological father in cm.
Can include |
hgtm |
Numeric vector with the height of the biological mother in cm.
Must have the same length as |
sex |
Character vector indicating the sex of the child for which target
height is calculated. Must be either |
etn |
Ethnicity. Not used in this function, but included for consistency with other functions. |
For more details, see Van Dommelen et al. (2012). The formulas are as follows:
TH = 44.5 + 0.376 * hgtf + 0.411 * hgtm
TH = 47.1 + 0.334 * hgtf + 0.364 * hgtm
If the height of the biological father is unknown, we use:
TH = 99.9 + 0.492 * hgtm
TH = 96.3 + 0.436 * hgtm
If the mother's height is unknown, the function returns NA
as the
target height cannot be calculated.
A data.frame
with three columns:
y
The calculated target height in cm.
y.sd
The standard deviation of the error term in cm.
z
The target height in SDS, relative to the child reference.
Hermanussen M, Cole TJ (2003). "The Calculation of Target Height Reconsidered." Hormone Research, 59, 180–183.
Van Dommelen P, Schonbeck Y, Van Buuren S (2012). "A simple calculation of the target height." Archives of Disease in Childhood, 97, 182.
hermanussencole
## Not run:
# Example: Target height for Dutch children with father height 180 cm and
# mother height 170 cm
# For both a boy and a girl
targetheight(hgtf = c(180, 180), hgtm = c(170, 170), sex = c("male", "female"))
# Handling missing father height
targetheight(hgtf = c(NA, 180), hgtm = c(171, NA), sex = c("male", "male"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.