mx2qx: Mortality rates to Death probabilities

Description Usage Arguments Details Value See Also Examples

View source: R/3_demographicFunctions.R

Description

Function to convert mortality rates to probabilities of death

Usage

1
mx2qx(mx, ax = 0.5)

Arguments

mx

mortality rates vector

ax

the average number of years lived between ages x and x +1 by individuals who die in that interval

Details

Function to convert mortality rates to probabilities of death

Value

A vector of death probabilities

See Also

mxt, qxt, qx2mx

Examples

1
2
#using some recursion
qx2mx(mx2qx(.2))

spedygiorgio/lifecontingencies documentation built on March 21, 2021, 5:36 a.m.