Learn R Programming

popReconstruct (version 1.0-6)

life.expectancy.stationary: Life Expectancy At Birth in a Stationary Population

Description

Calculates life expectancy at birth from age-specific survival proportions in a stationary population. See the vignette burkina-faso-females for an illustration of its use.

Usage

life.expectancy.stationary(z)

Arguments

z

Vector of age specific survival proportions for age groups of width five years.

Value

Life expectancy at birth.

Vignettes

burkina-faso-females

Details

This function calculates the life expectancy at birth in a stationary population subject to the survival proportions supplied.

Examples

Run this code
# NOT RUN {
## Can take a few minutes

# }
# NOT RUN {
data(burkina_faso_females)
life.expectancy.stationary(burkina.faso.females$survival.proportions[,1])
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab