# `calculate.incidence` Calculate incidence of an EMOD simulation ## Description Calculate incidence of an EMOD simulation ## Usage ```r calculate.incidence(data, gender.breakdown = TRUE, debug = FALSE) ``` ## 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 be ignored `gender.breakdown` | - Boolean which controls whether to disaggregate the data by gender. Defaults to TRUE. `debug` | - Boolean which controls whether function returns intermediate results. Defaults to TRUE. ## Value A tibble with columns incidence and Year