dot-Get_reference_value: Get reference for a given combination of model and...

.Get_reference_valueR Documentation

Get reference 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 measurement for a given percentile/z-score

Usage

.Get_reference_value(
  metric,
  sex,
  level,
  age,
  percentile = NULL,
  z_score = NULL,
  verbose = FALSE,
  digits = 0
)

Arguments

metric

character, body composition metric

sex

character, "Female" or "Male"

level

character, used vertebral level

age

integer, age

percentile

numeric, percentile to return value for. If both percentile and z_score are given, only percentile is evaluated

z_score

numeric, z score to return value for. If both percentile and z_score are given, only percentile is evaluated

verbose

logical, should messages be discplayed

digits

integer, digits to round reference value

Value

numeric, corresponding percentile

Author(s)

J. Peter Marquardt


bodycompref documentation built on Sept. 11, 2024, 9:30 p.m.