reference_percentiles {bodycompref}R Documentation

Get percentile(s) for a given combination of model and measurement

Description

For a given constellation of metric, sex, vertebral level, and age returns the corresponding percentiles for a given measurement

Usage

reference_percentiles(
  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 discplayed

digits

integer, digits to round percentile to

Value

numeric, corresponding percentile

Author(s)

J. Peter Marquardt

See Also

[bodycomp_reference()]

Examples


reference_percentiles(metric=c("CSFA", "CSFA"), sex=c("Female","Male"),
                 level=c("T5","L3"), age=c(42,68), measurement=c(50,50))


[Package bodycompref version 2.0.1 Index]