View source: R/covidPlotContagious.R
covidPlotContagious | R Documentation |
covidPlotContagious
covidPlotContagious( x, countylist = NULL, ndays, dayscontagious = 14, perx = 1e+05, add = FALSE, show = TRUE, ylim = NULL, showlinesforpriordate = TRUE, ... )
x |
from covidDownload |
countylist |
vector of county names like "Montgomery County, Maryland" as found in unique fullname entries in covidDownload() |
ndays |
show only the last ndays days of data |
dayscontagious |
how many recent days of new cases to add together, as a way to approximate how many people are currently still contagious |
perx |
per how many, such as per 100 or per 100000 |
add |
adding to existing plot or no |
show |
whether to draw plot or just return info |
ylim |
as in plot() |
showlinesforpriordate |
draw short line fit slopes to show midpoint of linefit to each of several recent sets of days |
... |
passed to plot() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.