prevalence.vector.creator: Create a vector of HIV prevalence measurements.

Description Usage Arguments Value Examples

View source: R/prevalence.vector.creator.R

Description

Calculate the HIV prevalence, for specific age groups, in yearly intervals, from zero until the end of the simulation.

Usage

1

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)

Value

A dataframe with HIV prevalence estimates and surrounding confidence bounds, for the specific age group.

Examples

1
2
3
data(datalist)
prev.vector.df <- prevalence.vector.creator(datalist = datalist, agegroup = c(15,50))
prev.vector.df

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