Description Usage Arguments Value
View source: R/plot_moving_avg.R
This function returns the plot of the 7 day moving average of new cases and new deaths.
1 | plot_moving_avg(df, state_selected, state_view)
|
df |
Data Frame returned from getBrazilCovid19Data() function. |
state_view |
Logical. Indicating whether is to compute per state or aggregated for the whole country. |
state |
String. State name in 2 letter. If NULL 9default) then return the plot for the country aggragated data. |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.