Description Usage Arguments Value Examples
Plot the development in a single country
1 | plot_country(data, show_model = TRUE)
|
data |
Preprocessed data containing data for one country |
show_model |
Logical, Should the predicted values be displayed |
A ggplot2 obj
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data %>%
preprocess_corona_data(statistic = "deaths",
countries = "Italy",
n = 10) %>%
predict_growth() %>%
plot_country(show_model = TRUE) +
ggplot2::ggtitle("Corona Death Growth Curve in Italy",
subtitle = "Starte date is the first day with > 10 deaths")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.