prevalence.plotter: Plot the overall HIV prevalence for the duration of the...

Description Usage Arguments Value Examples

View source: R/prevalence.plotter.R

Description

Plot the overall HIV prevalence, with confidence interval, for the duration of the simulation, for a specific age group.

Usage

1
prevalence.plotter(datalist = datalist, agegroup = c(15, 50))

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, 50)

Value

a ggplot2 object

Examples

1
2
3
data(datalist)
prevalence.df <-prevalence.plotter(datalist = datalist, agegroup = c(15, 30))
prevalence.df

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