emodplot.prevalence

Plot prevalence of hiv stratified by gender

Description

plots prevalence of EMOD simulations. First, it faintly plots all simulations. Then it plots a bold line of the mean of all simulations

Usage

emodplot.prevalence(data, date.start, date.end, title = "HIV prevalence")

Arguments

Argument

Description

data

A tibble returned from read.simulation.results(…, stratify_columns = c(“Year”, “Gender”), aggregate_columns = c(“Population”,”Newly.Infected”, “Infected”)). More aggregate columns can be used, but more stratify columns will cause problems in the plot.

date.start

integer year to start the plotting (i.e., 2000)

date.end

integer year to end the plotting (i.e., 2030)

Value

a ggplot with prevalence plotted