View source: R/death_helper_functions.R
death_age_sex_loop_over_time | R Documentation |
Loops over time to implement the death_cohort_period_to_age_period function for multiple periods of time.
death_age_sex_loop_over_time(dth_cohort, lx, nLx)
dth_cohort |
data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the cohort-specific death counts output from the project_ccmpp_loop_over_time function |
lx |
data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the lx values from the wpp inputs life table data frame |
nLx |
data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the nLx values from the wpp inputs life table data frame |
a data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the sex- and age-specific death counts
Sara Hertog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.