Returns the Central Exposure-to-Risk for given ages groups and time period.
The central Exposure-to-risk is computed as the sum of the time spent by individuals in a given age group over a given period, where age is the age at last birthday.
Usage
exposure_table(pop, ages, period)
Value
An exposure matrix
Arguments
pop
Object of class population.
ages
A vector of size N composed of age groups.
period
A vector of size M composed of time intervals.
Details
The function computes the central exposure-to-risk in each time interval [t[j],t[j+1]), j=1..M, and age groups.