get_mu {dscore} | R Documentation |
Median D-score from the base population for a given key
Description
Returns the age-interpolated median of the D-score of the default reference for a given key.
Usage
get_mu(t, key, prior_mean_NA = NA_real_)
Arguments
t |
Decimal age, numeric vector |
key |
Character, key of the reference population |
prior_mean_NA |
Numeric, prior mean when age is missing |
Details
Use get_reference()
for more options.
Value
A vector of length length(t)
with the median of the default reference
population for the key.
[Package dscore version 1.10.0 Index]