asymptor (version 0.2)

estimate_asympto: Estimate the proportion of asymptomatic cases by capture/recapture

Description

Estimate the proportion of asymptomatic cases by capture/recapture

Usage

estimate_asympto(df, bounds = c("lower", "upper"))

Arguments

df

A data.frame containing three columns containing date, the daily number of new_cases, and the daily number of new_deaths.

bounds

"lower", "upper", or both c("lower, "upper") (the default), telling which bounds of the number of asymptomatic cases are computed. associated with the lower and upper bounds. estimation. FALSE is never the recommended setting excepted for testing or debugging purpose.

Value

A data.frame with two or three columns (depending on the value of the bounds argument):

  • date: the original date column from your input dataset df

  • lower: the lower bound of asymptomatic cases

  • upper: the upper bound of asymptomatic cases

References

B<U+00F6>hning D., Rocchetti I., Maruotti A., Holling H. (2020), Estimating the undetected infections in the Covid-19 outbreak by harnessing capture<U+2013>recapture methods, International Journal of Infectious Diseases, 97, p197-201, 10.1016/j.ijid.2020.06.009.

Rocchetti I., B<U+00F6>hning D., Holling H., Maruotti A., (2020), Estimating the size of undetected cases of the SARS-CoV-2 outbreak in Europe: An upperbound estimator, medRxiv, 10.1101/2020.07.14.20153445.

Examples

Run this code
# NOT RUN {
d <- readRDS(system.file("extdata", "covid19_italy.rds", package = "asymptor"))
head(d)

estimate_asympto(d)

# }

Run the code above in your browser using DataCamp Workspace