Description Usage Arguments Value
View source: R/rccs_ggplot_doubling_time.R
GGplot2 doubling time graph A function to generate static doubling time graphs
1 2 3 4 5 6 7 8 9 | rccs_ggplot_doubling_time(
csse_data_object,
iso3c_country_code,
plot_title = NA,
window_size = 7,
min_cases = 100,
start_date = NA,
end_date = NA
)
|
csse_data_object |
a CsseData object created by load_csse |
iso3c_country_code |
a character vector of iso3c country codes |
plot_title |
a character string containing the plot title |
window_size |
the size of the sliding window used to estimate the doubling time |
min_cases |
the minimal number of cases to estimate the doubling time |
start_date |
either NA or the start date of data |
end_date |
either NA of the end date of data |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.