A Cross-sectional map: Average daily incidence for the past number of days specified for each country.
Arguments
- df
A data.frame with at least the following columns id, date, new_cases
- region
(optional) a character string specifying a DoS or WHO region to zoom to, or NULL if none
- time_step
(numeric) number of days to average incidence over
- bin_breaks
(numeric) a vector of incidence cut points interpretable by
cut
- bin_colors
(character) a vector of hex or ggplot colors for the legend. If named, names will be used to label
bin_breaks
.