(EPI WEEK) Visualize epi curve by epi-weeks (Monday-Sunday) and by WHO region(s).
1 | plot_epicurve(df, region = "Global", transparent = T)
|
df |
A dataframe with the following: region, country, date, new_cases. For WHO default, region should be factors with levels of AMRO, EURO, SEARO, EMRO, AFRO, and WPRO. Produces an epi curve, region stacked bar plot for each epi-week (Monday-Sunday). |
transparent |
Default TRUE - returns a transparent plot. |
who.col.pal |
Default color pallet for all regions. Specify specific region color for individual region. |
regions |
Default all WHO regions. Specify specific region label for individual region. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.