exposure_table | R Documentation |
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.
exposure_table(pop, ages, period)
pop |
Object of class |
ages |
A vector of size |
period |
A vector of size |
The function computes the central exposure-to-risk in each time interval [t[j],t[j+1])
, j=1..M
, and age groups.
An exposure matrix
ex_table <- exposure_table(population(EW_pop_out),0:101,0:11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.