Description Usage Arguments Value Examples
View source: R/hiv.negative.lifeyears.R
A function that returns the total number of HIV-negative life years lived between two points in simulation time, for a particular age group and gender.
1 2 | hiv.negative.lifeyears(datalist = datalist, agegroup = c(15, 30),
timewindow = c(15, 30), site = "All")
|
datalist |
The datalist that is produced by |
agegroup |
HIV ngative within this agegroup. |
timewindow |
HIV negative time window e.g timewindow = c(30, 40). |
site |
Select only the particular site from the study, if all ignore site/use all sites. |
the total number of HIV-negative life years lived aggregated by gender.
1 2 3 4 | data(datalist)
hiv.negative.lifeyears <- hiv.negative.lifeyears(datalist = datalist,
agegroup=c(15, 40), timewindow=c(15, 30), site="All")
hiv.negative.lifeyears
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.