Description Usage Arguments Value Examples
If the provided x value is outside the x range of the reference (see xRanges method), the lowest or highest value of the range is returned respectively.
1 2 3 4 5 6 7 8 | nearestX(
x,
sex = "male",
measurement = "height",
refName,
ref = GrowthSDS::kromeyerHauschild,
recodeSex = NULL
)
|
x |
x value of the subject (e.g. (gestational) age) |
sex |
Sex of the subject |
measurement |
The measurement from which y originates |
refName |
The name of the reference to be used to calculate the SDS values |
ref |
Reference object to be used to calculate the SDS, defaults to |
recodeSex |
list containing a mapping for sex to available sexes of the reference |
x value, adjusted to the selected reference
1 | nearestX(50, sex = 'male', measurement = 'height')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.