View source: R/calculate_screening_doms.R
calculate_screening_doms | R Documentation |
This function scans the tgt
object, and finds the observation
pairs used by the calculate_advice_xxx()
functions.
calculate_screening_doms(tgt, ynames = c("hgt", "wgt", "hdc"), na.omit = TRUE)
tgt |
A list with elements |
ynames |
Character vector identifying the measures to be
screened. By default, |
na.omit |
A logical indicating whether records with a missing
|
This function implements the "x1_last"
strategy for
choosing pairs. This strategy selects the last observation as
x1
and forms pairs with every earlier observation.
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 quantities dom1
,
age1
, y1
, z1
and h1
for the upper part
of the pair.
Internal function. Not to be called directly.
## Not run:
growthscreener:::calculate_screening_doms(target)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.