Function to combine demogdata objects containing different years but the same age structure into one demogdata object. The standard use for this function will be combining historical data with forecasts. The objects must be of the same type.
Value
Object of class “demogdata” with the following components:
- year
Vector of years
- age
Vector of ages
- rate
Matrix of rates with with one age group per row and one column per year.
- pop
Matrix of populations in same form as
rate
and containing population numbers. This is only produced when both objects contain apop
component.- type
Type of object: “mortality”, “fertility” or “migration”.
- label
Name of area from which the data are taken.