calculate_advice_hdc | R Documentation |
This function traverses a decision tree for head circumference for children below the age of 1.
calculate_advice_hdc(
sex = NA_character_,
ga = NA,
dob = NA_character_,
dom = NA_integer_,
y = NA,
test_gain = TRUE,
verbose = FALSE
)
sex |
Character, either |
ga |
Gestational age, completed weeks (Integer or character) |
dob |
Date of birth ( |
dom |
Vector with dates of measurements. Either supplied as age in
decimal years or a date in the format |
y |
Head circumference (cm) |
test_gain |
Logical. Should the increase or decrease in Z-scores be
tested? The default is |
verbose |
Set to |
The decision tree assesses both single and paired measurements. The observation corresponding to the oldest age is taken is the current measurement.
calculate_advice_hdc
returns an integer, the msgcode
,
between 3000-3999.
Arjan Huizing, Stef van Buuren, 2020
msg(calculate_advice_hdc())
msgcode <- calculate_advice_hdc(sex = "female",
dom = c(0.2491, 0.6653),
y = c(36, 40))
msg(msgcode)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.