make.leslie.matrix: Make Leslie Matrix

Description Usage Arguments Details Value Vignettes Author(s) References See Also Examples

Description

Constructs the Leslie Matrix needed for cohort component projection.

Usage

1
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

1
2
3
4
5
6
7
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))


Search within the popReconstruct package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.