pop_age() is deprecated. To rebin a population table to explicit age
limits, use rebin_ages(). To align a population table to a contact
matrix's age groups, use align_ages().
pop_age(
pop,
age_limits = NULL,
pop_age_column = "lower.age.limit",
pop_column = "population",
...,
age.limits = deprecated(),
pop.age.column = deprecated(),
pop.column = deprecated()
)data frame of age-specific population data
a data frame with lower-age-limit and population columns (see
pop_age_column and pop_column)
lower age limits of age groups to extract; if NULL
(default), the population data is returned unchanged
column in pop indicating the lower age group limit
column in pop indicating the population size
ignored