who_mortality | R Documentation |
Returns age and sex-specific mortality probabilities for a given region
get_who_mr(age, sex = NULL, region = NULL, year = "latest")
age |
age as a continuous variable. |
sex |
sex as |
region |
Region code. |
year |
Use data from that year. Defaults to
|
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.
This function should be used within
define_transition()
or define_parameters()
.
define_transition(
C, get_who_mr(age = 50 + model_time, sex = "FMLE", region = "EUR"),
0, 1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.