plot_rep_cases: Facet plot of cumulative and incident cases at locations...

Description Usage Arguments Value

View source: R/PlotUtils.R

Description

Facet plot of cumulative and incident cases at locations desired

Usage

1
2
3
4
5
6
7
8
plot_rep_cases(
  case_data = jhucsse,
  state = "NY",
  county_name = c("New York", "Nassau"),
  aggr_locs = FALSE,
  date_limits = c("2020-01-15", "2020-03-15"),
  ncol_facet = 2
)

Arguments

case_data

Confirmed case data from JHU CSSE

state

State abbreviation; NULL if not a state

county_name

Vector of counties of interest; NULL if not wanting counties

aggr_locs

whether aggregated cases across specified states or counties is wanted

date_limits

date boundaries desired for the plot

ncol_facet

number of columns in the facet plotting

Value

a facet plot of confirmed and incident cases


HopkinsIDD/covidImportation documentation built on Sept. 14, 2020, 2:43 p.m.