birth_mat: Calculate births for each element of place of birth - place...

Description Usage Arguments Value Author(s) See Also

View source: R/birth_mat.R

Description

This function is predominantly intended to be used within the ffs routines in the migest package.

Usage

1
birth_mat(b_por = NULL, m2 = NULL, non_negative = TRUE)

Arguments

b_por

Vector of numeric values for births in each place of residence

m2

Matrix of migrant stock totals at time t+1. Rows in the matrix correspond to place of birth and columns to place of residence at time t+1.

non_negative

Adjust birth matrix calculation to ensure all deductions from m2 will result in positive population counts. On rare occasions when working with international stock data the number of births can exceed the increase in the number of native born population.

Value

Matrix of place of birth by place of residence for new-born’s

Author(s)

Guy J. Abel

See Also

ipf3_qi, ffs_diff


migest documentation built on July 25, 2021, 9:07 a.m.