cd4.atARTinit: A function that returns the total number of people who...

Description Usage Arguments Value Examples

View source: R/CD4.atARTinit.R

Description

A function that returns the total number of people who started their treatment when their CD4count was below a specified threshold segregated by gender

Usage

1
2
cd4.atARTinit(datalist = datalist, agegroup = c(15, 30),
  timewindow = c(15, 30), cd4count = 350, site = "All")

Arguments

datalist

The datalist that is produced by readthedata

agegroup

alive people within this agegroup.

timewindow

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

cd4count

threshold at the time of ART initiation.

site

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

Value

the total number of people whose CD4 count at ART initiation is within a was below this threshold

Examples

1
2
3
data(datalist)
cd4.atARTinit <- cd4.atARTinit(datalist = datalist, agegroup=c(15, 30),
 timewindow=c(10, 40), cd4count=350, site="All")

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