covidPlotContagious: covidPlotContagious

View source: R/covidPlotContagious.R

covidPlotContagiousR Documentation

covidPlotContagious

Description

covidPlotContagious

Usage

covidPlotContagious(
  x,
  countylist = NULL,
  ndays,
  dayscontagious = 14,
  perx = 1e+05,
  add = FALSE,
  show = TRUE,
  ylim = NULL,
  showlinesforpriordate = TRUE,
  ...
)

Arguments

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


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