load_mort_data is used to load age-specific mortality from .csv file into vector.

load_mort_data(file = NULL)

Arguments

file

String with the location and name of the file with mortality data. If NULL, all_cause_mortality will be used as default

Value

A vector with mortality by age.

Examples

v_r_mort_by_age <- load_mort_data()
head(v_r_mort_by_age)
#>         Total
#> [1,] 0.005907
#> [2,] 0.000402
#> [3,] 0.000253
#> [4,] 0.000196
#> [5,] 0.000147
#> [6,] 0.000136