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 |
---|---|
|
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. |
|
integer year to start the plotting (i.e., 2000) |
|
integer year to end the plotting (i.e., 2030) |
Value
a ggplot with prevalence plotted