stillcontagious_percap_bycounty: Calculate cumulative recent new cases per capita for each...

View source: R/stillcontagious_percap_bycounty.R

stillcontagious_percap_bycountyR Documentation

Calculate cumulative recent new cases per capita for each place

Description

Calculate cumulative recent new cases per capita for each place

Usage

stillcontagious_percap_bycounty(
  date,
  new,
  countyname,
  pop,
  dayscontagious = 14
)

Arguments

date

dates (not necessarily sorted)

new

new cases per day for given place and date

countyname

place names (defining subsets within each of which the running cum recent totals are gotten)

pop

population count for given place

dayscontagious

how many recent days of new cases to add up

Examples

na

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