finddxgap provides functions to calculate and model a diagnostic gap.
# Install the development version from GitHub:
# install.packages("pak")
pak::pak("mikejohnpage/finddxgap")
library(finddxgap)
# Compute a diagnostic gap
cases <- data.frame(
estimated = c(100, 80, 100),
notified = c(10, 60, 70)
)
dxgap(cases, estimated, notified)
#> estimated notified dxgap
#> 1 100 10 90
#> 2 80 60 25
#> 3 100 70 30
To contribute to this project, please follow GitHub Flow when submitting changes.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
See LICENSE