Description Usage Arguments Details Value Vignettes Author(s) See Also Examples
View source: R/pop_reconstruction_functions.R
Calculates the net number of migrants from two population vectors and the Leslie matrix describing the amount of change attributable to fertility and mortality.
1 | net.number.migrants(n1, n2, L)
|
n1 |
Population vector at time t. |
n2 |
Populatin vectors at time t+δ. |
L |
The Leslie matrix (see |
This function is used in the calculation of the average annual net number of migrants. See the vignette burkina-faso-females for an example of its use.
Vector of net number of migrants in each age group to the population between times t and t+δ.
burkina-faso-females
Mark C. Wheldon
popRecon.ccmp.female
, make.leslie.matrix
1 2 3 4 5 6 7 8 9 10 11 12 | ## Can take several minutes to run
## Not run:
example(popRecon.ccmp.female)
example(make.leslie.matrix)
net.number.migrants(n1 = pop.input.mat[,k]
,n2 = pop.input.mat[,k+1]
,L = Lk)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.