Learn R Programming

heemod (version 0.3.3)

get_who_mr_: Use WHO Mortality Rate

Description

Use WHO Mortality Rate

Usage

get_who_mr_(age, sex, country, year = "latest")
get_who_mr(age, sex, country, year = "latest")

Arguments

age
age as a continuous variable.
sex
sex as "FMLE" or "MLE".
country
Country code (see details).
year
Use data from that year. Defaults to "latest".

Value

This function should be used within define_matrix or define_parameters.

Examples

Run this code

define_matrix(
  C, get_who_mr(age = 50 + markov_cycle, sex = "FMLE", country = "FRA"),
  0, 1
)

Run the code above in your browser using DataLab