Generic method for age_pyramid
age_pyramid(object, time = 0, ages = c(0:110, Inf), ...)
Arguments
- object
Population.
- time
The age pyramid is computed at instant time
. Must be a numeric greater than or equal to 0.
- ages
(Optional) A numeric vector of distinct positive values composing age groups. Must be in increasing order.
- ...
Additional parameters
Value
An object of class pyramid
containing the age pyramid of a population at instant time
.