hiv.infected.group: Calculate the number of HIV infections that occured between...

Description Usage Arguments Value Examples

View source: R/hiv.infected.group.R

Description

Calculate the number of HIV infections that occured between two time points.

Usage

1
2
hiv.infected.group(datalist = datalist, agegroup = c(15, 30),
  timewindow = c(20, 30), site = "All")

Arguments

datalist

The datalist that is produced by readthedata

agegroup

HIV infection within this agegroup.

timewindow

HIV transmission that took place between this simulation time e.g timewindow = c(20, 30)

site

Select only the particular site from the study, if all ignore site/use all sites.

Value

data.frame with number of infection aggregated by Gender

Examples

1
2
3
4
data(datalist)
hiv.infected <- hiv.infected.group(datalist = datalist,
agegroup=c(15, 30), timewindow=c(20, 40), site="All")
hiv.infected

wdelva/RSimpactHelp documentation built on Dec. 26, 2019, 3:42 a.m.