resolve_survey_pop: Resolve survey population to match matrix age groups

View source: R/postprocess-matrix.R

resolve_survey_popR Documentation

Resolve survey population to match matrix age groups

Description

Resolve survey population to match matrix age groups

Usage

resolve_survey_pop(survey_pop, age_limits, ...)

Arguments

survey_pop

a data frame with columns lower.age.limit and population (e.g. from wpp_age())

age_limits

numeric vector of age group lower limits from the matrix

...

passed to pop_age() for interpolation

Value

a data.table with lower.age.limit, population, and upper.age.limit aligned to the matrix age groups


socialmixr documentation built on April 29, 2026, 9:07 a.m.