Package: |
HIV.LifeTables |
Type: |
Package |
Version: |
0.1 |
Date: |
2013-12-02 |
License: |
Unlimited |
hiv.mortmod
which takes prevalence and some mortality indicator (e0, 5q0 alone, or 5q0 with 45q15) to produce set of mortality rates. The user also needs to select a region (Africa or Caribbean) and sex. hiv.mortmod
will also produce a life table based on the estimated mortality rates. mortmod.e0
, mortmod.5q0
, and mortmod.45q15
produce mortality rates for the various input combinations.
## produces a life table and mortality rates at 1.5% prevalence,
## life expectancy of 60, for Africa Females
hiv.mortmod(prev=1.5, e0=60, model=1, region=1, sex=1, lt=TRUE)
Run the code above in your browser using DataLab