covidPlotTrendNew: covidPlotTrendNew

View source: R/covidPlotTrendNew.R

covidPlotTrendNewR Documentation

covidPlotTrendNew

Description

covidPlotTrendNew

Usage

covidPlotTrendNew(
  x,
  countylist = NULL,
  averagingtime = 3,
  smoothspan,
  ndays,
  lastn = 14,
  fitlwd = 3,
  ...
)

Arguments

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()


ejanalysis/covidcountyshinyapp documentation built on Aug. 31, 2022, 7:46 a.m.