View source: R/connected_scatterplot.R
construct_epi_plot | R Documentation |
This internal function builds a ggplot object to visualize the relationship between deaths and infections.
construct_epi_plot(filtered_data, min_max_year, axis_limits, year_limits)
filtered_data |
A data frame containing the filtered data with columns |
min_max_year |
A data frame containing the data points for the minimum and maximum years for each country. |
axis_limits |
A numeric vector of length two containing the global minimum and maximum values for the axes. |
year_limits |
A numeric vector of length two containing the global min and max of the year ranges |
A ggplot2 plot object that visualizes the epidemic control trajectories.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.