% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postprocess-matrix.R
\name{resolve_survey_pop}
\alias{resolve_survey_pop}
\title{Resolve survey population to match matrix age groups}
\usage{
resolve_survey_pop(survey_pop, age_limits, ...)
}
\arguments{
\item{survey_pop}{a data frame with columns \code{lower.age.limit} and
\code{population} (e.g. from \code{\link[=wpp_age]{wpp_age()}})}

\item{age_limits}{numeric vector of age group lower limits from the matrix}

\item{...}{passed to \code{\link[=pop_age]{pop_age()}} for interpolation}
}
\value{
a data.table with \code{lower.age.limit}, \code{population}, and
\code{upper.age.limit} aligned to the matrix age groups
}
\description{
Resolve survey population to match matrix age groups
}
\keyword{internal}
