covidPlotTrendNewRunFit: covidPlotTrendNewRunFit

View source: R/covidPlotTrendNewRunFit.R

covidPlotTrendNewRunFitR Documentation

covidPlotTrendNewRunFit

Description

covidPlotTrendNewRunFit

Usage

covidPlotTrendNewRunFit(
  x,
  countylist = NULL,
  averagingtime = 3,
  ndays,
  lastn = 14,
  fitlwd = 3,
  fitlty = 1,
  autoregress = FALSE,
  ...
)

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

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

fitlty

type of fitted line

autoregress

not used

...

passed to plot()


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