art.person.years: A function that returns the total number of person-years on...

Description Usage Arguments Value Examples

View source: R/ART.person.years.R

Description

A function that returns the total number of person-years on ART provided between two points in a simulation time age group and gender

Usage

1
2
art.person.years(datalist = datalist, agegroup = c(15, 30),
  timewindow = c(15, 40), site = "All")

Arguments

datalist

The datalist that is produced by readthedata

agegroup

Individuals who have this agegroup within this timewindow

timewindow

alive people within this simulation time e.g timewindow = c(15, 30).

site

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

Value

a total number of people on ART aggregated by Gender.

Examples

1
2
3
4
data(datalist)
person.years.art <- art.person.years(datalist = datalist, agegroup=c(15, 30),
timewindow =c(15, 30), site="All")
person.years.art

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