plot_epicurve: plot_epicurve

Description Usage Arguments

View source: R/viz_plots.R

Description

(EPI WEEK) Visualize epi curve by epi-weeks (Monday-Sunday) and by WHO region(s).

Usage

1
plot_epicurve(df, region = "Global", transparent = T)

Arguments

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.


randyyee/ITFAnalytics documentation built on Dec. 22, 2021, 12:56 p.m.