make.leslie.matrix {popReconstruct} | R Documentation |
Make Leslie Matrix
Description
Constructs the Leslie Matrix needed for cohort component projection.
Usage
make.leslie.matrix(pop, surv, fert, srb = 1.05, age.int = 5, label.dims = FALSE)
Arguments
pop |
Population count at baseline. |
surv |
Survivorship probabilities: the probability of reaching the age at the start of the interval. The first row should be nL0/(n*l0). The last row is survival for age.int years in the open interval. |
fert |
Matrix of age specific fertility rates NOT yet mulitplied by age.int. |
srb |
Sex ratio at birth (matrix or scalar). |
age.int |
Width of the age intervals; needed for correct interpretation of survival probabilities and fertility rates. |
label.dims |
Should row and column names be set? Aesthetic. |
Details
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.
Value
A Leslie matrix as a matrix object.
Vignettes
burkina-faso-females
Author(s)
Mark C. Wheldon
References
Preston, S. H., Heuveline, P. and Guillot, M. (2001) Demography, chapter 6. Malden, MA: Blackwell.
See Also
popRecon.ccmp.female
, net.number.migrants
Examples
example(popRecon.ccmp.female)
(Lk <- make.leslie.matrix(pop = pop.input.mat[,1]
,surv = burkina.faso.females$survival.proportions[,1]
,fert = burkina.faso.females$fertility.rates[,1]
,srb = 1.05
,age.int = 5))