percent_predicted {bodycompref} | R Documentation |
Get % of expected value
Description
For a given constellation of metric, sex, vertebral level, and age returns the ratio of actual and expected value (percentile 50) in percent
Usage
percent_predicted(
metric,
sex,
level,
age,
measurement,
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 |
measurement |
numeric (vector), raw value of measurement |
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
percent_predicted(metric=c("CSFA", "CSFA"), sex=c("Female","Male"),
level=c("T5","L3"), age=c(42,68), measurement=c(100,200))
[Package bodycompref version 2.0.1 Index]