Description Usage Arguments Value Examples
Base plot for creating incident cases chart of covid19 data
1 2 3 4 5 6 7 | gg_covid_incidence_exceed_limit(
covid_data_limit,
limit = NULL,
highlight = "Australia",
smooth = FALSE,
span = 0.1
)
|
covid_data_limit |
|
limit |
the number of days since reached a limit (added for titling graphic). Default is 100. |
highlight |
the name of the country to highlight, default is Australia. |
smooth |
add smoother, default is false |
span |
span numeric, span to add to smoother. |
ggplot plot
1 2 3 4 5 6 7 8 9 | ## Not run:
covid_data_since <- covid_data %>%
add_days_since_limit(limit = 100) %>%
dplyr::filter(days_since_limit >= 0) %>%
dplyr::filter(country_region %in% c("Australia", "New Zealand"))
gg_covid_cumulative_exceed_limit(covid_data_since)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.