just.cases | R Documentation |
Function to graph confirmed SARS-CoV-2 infections and COVID-19 deaths through time.
just.cases(states="Massachusetts", cumulative=FALSE, data=list(), window=7, bg="transparent", xlim=c(60,366+365+181), per.capita=FALSE, cols=NULL, show=c("both","cases","deaths","neither"), plot.bars=FALSE, ...)
states |
states or jurisdictions to plot. |
cumulative |
show cumulative infections (logical). |
data |
list containing CDC data. If not supplied, function will create this object. |
window |
window for moving average. |
bg |
background color for plots. |
xlim |
x-limits for the plot. |
per.capita |
show per 1M population (logical). |
cols |
colors for plotting. |
show |
what to show in plot. |
plot.bars |
logical indicating whether to plot bars. |
... |
optional arguments. |
A plot.
Liam Revell liam.revell@umb.edu
References here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.