targetHeight: Calculate target height

Description Usage Arguments Value Examples

View source: R/targetHeight.R

Description

Calculate target height

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
targetHeight(
  sex,
  motherHeight,
  fatherHeight,
  targetAge = 18,
  measurement = "height",
  method = "Tanner",
  refName,
  ref = GrowthSDS::kromeyerHauschild,
  hermanussen.coef = 0.72,
  tanner.coef = list(male = 6.5, female = -6.5),
  molinari.coef = list(male = 10.2, female = -2.6)
)

Arguments

sex

sex of the subject, must correspond to the sex of the reference

motherHeight

height of the mother

fatherHeight

height of the father

targetAge

age when target height is reached

measurement

name of the measurement in the reference (default: 'height')

method

method to be used to calculate the target height, possible values are 'Tanner' (default), 'Molinari' and 'Hermanussen'

refName

name of the reference to be used to calculate the SDS values, defaults to 'kromeyer-hauschild_et_al'

ref

reference object to be used to calculate the SDS, either ref or refName must be given

hermanussen.coef

coefficiant of Hermanussen target height formula

tanner.coef

list of coefficiants of Tanner target height formula (key-value-pairs where the key is sex)

molinari.coef

list of coefficiants of Molinari target height formula (key-value-pairs where the key is sex)

Value

list containing height, sds and method

Examples

1
2
3
4
5
6
7
targetHeight(
  sex = 'female',
  motherHeight = 175,
  fatherHeight = 180,
  method = 'Hermanussen',
  refName = 'cdc'
)

CrescNet/GrowthSDS documentation built on Feb. 4, 2021, 5:40 p.m.