est_daily_incidence_corrected: Wrapper function to correct for the changes in reporting in...

Description Usage Arguments Value

Description

Wrapper function to correct for the changes in reporting in Hubei and merge with data for all incidence

Usage

1
2
3
4
5
6
7
est_daily_incidence_corrected(
  cum_data,
  first_date,
  last_date,
  tol = 100,
  na_to_zeros = FALSE
)

Arguments

cum_data

data frame with the cumulative number of cases

first_date

the first date to infer incidence over

last_date

the latest date to infer incidence over

tol

error tolerance, in terms of number of cases

Value

a corrected version of the inferred incidence data corrected for reporting changes in Hubei.


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