cd4.atARTinit.calculator: CD4 at ART initiation

Description Usage Arguments Value Examples

View source: R/cd4.atARTinit.calculator.R

Description

Calculate the number of people who started ART below a given cd4 count threshold, within a given time window.

Usage

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

Arguments

datalist

The datalist that is produced by readthedata

agegroup

Boundaries of the age group (lower bound <= age < upper bound) that should be retained, e.g. c(15, 30).

timewindow

The window in simulation time during which ART initiations are considered.

cd4count

The cd4 cell count threshold below which ART initiations are considered.

site

Select only the particular site from the study, if "All", use all sites.

Value

A dataframe with the number of people who initiated ART below the threshold and the total number of people who initiated ART at some point in the time window.

Examples

1
2
3
data(datalist)
cd4count.atARTInit <- cd4.atARTinit.calculator(datalist = datalist, agegroup = c(15,50))
cd4count.atARTInit

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