get_mu: Median D-score from the base population for a given key

View source: R/get_mu.R

get_muR 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.


D-score/dscore documentation built on Aug. 13, 2024, 12:45 a.m.