calculate_advice_devlang | R Documentation |
This function traverses the decision tree "JGZ-Richtlijn taalontwikkeling 2012", which is based on the van Wiechen questionnaire for child development.
calculate_advice_devlang(
dob = NA_character_,
dom_vw41 = NA,
vw41 = NA,
dom_vw42 = NA,
vw42 = NA,
dom_vw43 = NA,
vw43 = NA,
dom_vw44 = NA,
vw44 = NA,
dom_vw45 = NA,
vw45 = NA,
dom_vw46 = NA,
vw46 = NA,
force = FALSE
)
dob |
Date of birth ( |
dom_vw41 |
Date of measurement for van Wiechen item 41. Either a vector
of age in decimal years or a date in the format |
vw41 |
Outcome of the van Wiechen item 41. |
dom_vw42 |
Date of measurement for van Wiechen item 42. Either a vector
of age in decimal years or a date in the format |
vw42 |
Outcome of the van Wiechen item 42. |
dom_vw43 |
Date of measurement for van Wiechen item 43. Either a vector
of age in decimal years or a date in the format |
vw43 |
Outcome of the van Wiechen item 43. |
dom_vw44 |
Date of measurement for van Wiechen item 44. Either a vector
of age in decimal years or a date in the format |
vw44 |
Outcome of the van Wiechen item 44. |
dom_vw45 |
Date of measurement for van Wiechen item 45. Either a vector
of age in decimal years or a date in the format |
vw45 |
Outcome of the van Wiechen item 45. |
dom_vw46 |
Date of measurement for van Wiechen item 46. Either a vector
of age in decimal years or a date in the format |
vw46 |
Outcome of the van Wiechen item 46. |
force |
Should the repeat at 2.5 years be done regarldess of outcome at
2? Default value is |
The observation corresponding to the oldest age is taken is the current measurement.
calculate_advice_devlang
returns an integer, the msgcode
, between
4000-4999.
Arjan Huizing, Stef van Buuren, 2020
msg(calculate_advice_devlang())
msgcode <- calculate_advice_devlang(dob = "20200101",
dom_vw41 = "20220101", vw41 = 2,
dom_vw42 = "20220101", vw42 = 1)
msg(msgcode)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.