Learn R Programming

LifeTables (version 1.0)

alpha.e0: Alpha to match life expectancy

Description

Finds the alpha value to reproduce a desired life expectancy given a life table family/pattern

Usage

alpha.e0(pattern, e0.target, sex="female")

Arguments

pattern
An integer (1-7) which indicates the desired life table family
e0.target
The desired life expectancy
sex
"male" or "female"

Value

e0.target

Details

An appropriate life table family (pattern) can be found using hmd.DA or hmd.DA.mx

See Also

lt.mx, mortmod, hmd.DA

Examples

Run this code


alpha.e0(pattern=2, e0.target=65, sex="male")

Run the code above in your browser using DataLab