
hiv.mortmod(prev=NULL, e0=NULL, child.mort = NULL, adult.mort = NULL, model = 1,
region = 1, sex = 1, lt = FALSE, nax=NULL, opt=TRUE)
lt=TRUE
A life table with age intervals matching those of the nmx schedule on which the table is built and with columns for age, nax, nmx, nqx, npx, ndx, lx, nLx, Tx, and ex.lt=TRUE
The probability of death between birth and age 5lt=TRUE
The probability of death between age 15 and 60mortmod.e0
, mortmod.5q0
, mortmod.45q15
## a life table at 1.5 percent prevalence, life expectancy of 60, for Africa Females
hiv.mortmod(prev=1.5, e0=60, model=1, region=1, sex=1, lt=TRUE)
## a set of mortality rates at 2.5 percent prevalence, life expectancy of 53,
## for Caribbean Males
hiv.mortmod(prev=2.5, e0=53, model=1, region=0, sex=0, lt=FALSE)
Run the code above in your browser using DataLab