Extract measurements that can function as date zero
calculate_screening_doms.Rd
This function scans the tgt
object, and finds the observation
pairs used by the calculate_advice_xxx()
functions.
Usage
calculate_screening_doms(tgt, ynames = c("hgt", "wgt", "hdc"), na.omit = TRUE)
Value
A list with length(ynames)
elements. Each list element
is another list
with elements dom0
(back-calculated
dates of measurement, vector, reverse time), age0
(decimal age),
y0
(measurement), z0
(Z-score equivalent) and
for weight -
h0
, as well as similar quantitiesdom1
,age1
,y1
,z1
andh1
for the upper part of the pair.