Skip to contents

This function modifies mortality rates using the Wilmoth method from the 'DemoTools' package. It calculates life table parameters based on child mortality rates and life expectancy.

Usage

mod_lx(q0_5_m, e0_m, q0_5_f, e0_f, method = "wilmoth")

Arguments

q0_5_m

Male child mortality rate (probability of dying before age 5).

e0_m

Male life expectancy at birth.

q0_5_f

Female child mortality rate (probability of dying before age 5).

e0_f

Female life expectancy at birth.

method

Method to use for modification, default is 'Wilmoth'.

Value

A list containing life table parameters for males and females.

Examples

inparm_lt <- mod_lx(q0_5_m = 0.00318, e0_m = 76.75, q0_5_f = 0.00264, e0_f = 82.22)