View source: R/lt_helper_functions_wpp.R
lt_complete_loop_over_time | R Documentation |
This function computes complete life table values, looping over time periods and using the lt_single_mx() function in DemoTools.
lt_complete_loop_over_time(mx, sex, a0rule = "ak", OAnew = 130)
mx |
data frame. "value" column contains age-specific mortality rates by time_start and age_start for one sex. |
sex |
character. string indicating "m" male, "f" female, or "b" both sexes. |
a0rule |
character. string "ak" for andreev-kinkaid and "cd" for coale-demeny estimation of 1a0. |
OAnew |
numeric. The starting age for the new open age group. |
a data frame with "indicator" labeling the life table column name and "value" containing the value of that measure, by single year of age_start and time_start
Sara Hertog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.