exposure_age_sex_loop_over_time: Loop over time to approximate age-specific person years of...

View source: R/exposure_helper_functions.R

exposure_age_sex_loop_over_timeR Documentation

Loop over time to approximate age-specific person years of exposure

Description

Loops over time to implement the exposure_age function for multiple periods of time.

Usage

exposure_age_sex_loop_over_time(dth_age, nmx)

Arguments

dth_age

data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the sex- and age-specific death counts.

nmx

data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the nMx values from the wpp inputs life table data frame

Value

a data frame with columns time_start, time_span, sex, age_start, age_span and value. Value contains the sex- and age-specific person years of exposure counts

Author(s)

Sara Hertog


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.