who_mortality: Use WHO Mortality Rate

who_mortalityR Documentation

Use WHO Mortality Rate

Description

Returns age and sex-specific mortality probabilities for a given region

Usage

get_who_mr(age, sex = NULL, region = NULL, year = "latest")

Arguments

age

age as a continuous variable.

sex

sex as "FMLE"-"MLE", 0-1 (male = 0, female = 1) or 1-2 (male = 1, female = 2).

region

Region code.

year

Use data from that year. Defaults to "latest".

Details

Only locally cached data are available. For memory space reasons local data is only available for WHO high-income countries (pooled), and only for the latest year.

Value

This function should be used within define_transition() or define_parameters().

Examples


define_transition(
  C, get_who_mr(age = 50 + model_time, sex = "FMLE", region = "EUR"),
  0, 1
)


heemod documentation built on June 16, 2025, 5:08 p.m.