VL.suppression.calculator: Calculate viral suppression fraction.

Description Usage Arguments Value Examples

View source: R/VL.suppression.calculator.R

Description

Calculate the fraction of HIV infected people of a particular age group who are virally suppressed at a point in time.

Usage

1
2
VL.suppression.calculator(datalist = datalist, agegroup = c(15, 30),
  timepoint = 30, vl.cutoff = 1000, 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. agegroup = c(15, 30)

timepoint

Point in time at which the viral suppression fraction should be calculated.

vl.cutoff

viral load below this threshold e.g <1000 copies/mL is defined as suppressed

site

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

Value

a dataframe with VL suppression estimates and surrounding confidence bounds, for the specified time point and age group, overall, and stratified by gender.

Examples

1
2
3
data(datalist)
VL.suppression.df <- VL.suppression.calculator(datalist = datalist,
agegroup = c(15, 30), timepoint = 30, vl.cutoff = 1000, site="All")

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