Generic method for age_pyramids
age_pyramids(object, time = 0, ages = c(0:110, Inf))
Population.
The age pyramid is computed at instant time
. Must be a numeric greater than or equal to 0.
(Optional) A numeric vector of distinct positive values composing age groups. Must be in increasing order.