reference_values {bodycompref} | R Documentation |
Get reference values for a given combination of model and percentile/z-score
Description
For a given constellation of metric, sex, vertebral level, and age returns the corresponding measurements to a given percentile/z-score
Usage
reference_values(
metric,
sex,
level,
age,
percentile = NULL,
z_score = NULL,
verbose = FALSE,
digits = 0
)
Arguments
metric |
character (vector), body composition metric |
sex |
character (vector), ""Female" or "Male" |
level |
character (vector), used vertebral level |
age |
integer (vector), age |
percentile |
numeric (vector), percentile to return value for. If both percentile and z_score are given, only percentile is evaluated |
z_score |
numeric (vector), z score to return value for. If both percentile and z_score are given, only percentile is evaluated |
verbose |
logical, should messages be displayed |
digits |
integer, digits to round return value to |
Value
numeric, corresponding percentile
Author(s)
J. Peter Marquardt
See Also
[bodycomp_reference()]
Examples
reference_values(metric=c("CSFA", "CSFA"), sex=c("Female","Male"),
level=c("T5","L3"), age=c(42,68), percentile=c(50,50))
[Package bodycompref version 2.0.1 Index]