age_pyramids.population {IBMPopSim} | R Documentation |
Age pyramid from a population data frame at some given times.
Description
Vectorial version in time of the function age_pyramid.population
. Not compatible with IBMs including swap events.
Usage
## S3 method for class 'population'
age_pyramids(object, time = 0, ages = c(0:110, Inf))
Arguments
object |
Object of |
time |
The age pyramid is computed at instant |
ages |
(Optional) A numeric vector of distinct positive values composing age groups. Must be in increasing order. |
Details
For convenience. This is a just a lapply
call of age_pyramid.population
on the vector time
.
[Package IBMPopSim version 1.0.0 Index]