Estimate net migration from lifetime migration data
net_from_lifetime(
.data,
in_migrant = "in_migrants",
out_migrant = "out_migrants",
year = "year",
in_survival,
out_survival
)
A data frame with two rows with the total number of lifetime in- and out-migrants in separate columns. The first row contains totals at the first time point and second row at the second time point.
Character string name of column containing in-migrant counts. Default `code"in_migrants"`.
Character string name of column containing out-migrant counts. Default `code"out_migrants"`.
Character string name of column containing time points. Default `code"year"`.
Survival probability for foreign migrants in region
Survival probability for native migrants outside of region
Data frame with estimates of net migration