View source: R/covidPlotTrendNew.R
covidPlotTrendNew | R Documentation |
covidPlotTrendNew
covidPlotTrendNew( x, countylist = NULL, averagingtime = 3, smoothspan, ndays, lastn = 14, fitlwd = 3, ... )
x |
from covidDownload |
countylist |
vector of county names like "Montgomery County, Maryland" as found in unique fullname entries in covidDownload() |
averagingtime |
how many days to include in the running average |
smoothspan |
parameter controlling how localized or smoothed the loess curve should be |
ndays |
show only the last ndays days of data |
lastn |
how many days to use in fitting line to a few recent days |
fitlwd |
width of fitted line |
... |
passed to plot() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.