Package: incidental 0.1

Lauren Hannah
incidental: Implements Empirical Bayes Incidence Curves
Make empirical Bayes incidence curves from reported case data using a specified delay distribution.
Authors:
incidental_0.1.tar.gz
incidental_0.1.tar.gz(r-4.5-noble)incidental_0.1.tar.gz(r-4.4-noble)
incidental_0.1.tgz(r-4.4-emscripten)incidental_0.1.tgz(r-4.3-emscripten)
incidental.pdf |incidental.html✨
incidental/json (API)
NEWS
# Install 'incidental' in R: |
install.packages('incidental', repos = 'https://cloud.r-project.org') |
- covid_delay_dist - Delay distribution from COVID-19 pandemic.
- covid_new_york_city - New York City data from the COVID-19 pandemic.
- spanish_flu - Daily flu mortality from 1918 flu pandemic.
- spanish_flu_delay_dist - Delay distribution from 1918 flu pandemic.
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 5 years agofrom:70cac274ab. Checks:1 OK, 2 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 21 2025 |
R-4.5-linux | NOTE | Mar 21 2025 |
R-4.4-linux | NOTE | Mar 21 2025 |
Exports:compute_expected_casescompute_log_incidencedata_checkdata_processingfit_incidencefront_zero_padincidence_to_dfinit_paramsmake_ar_extrap_sampsmake_likelihood_matrixmake_spline_basismarg_loglike_poissonmarg_loglike_poisson_fishermarg_loglike_poisson_gradpoisson_objectivepoisson_objective_gradregfunregfun_gradregfun_hesssample_laplace_log_incidence_poissonscan_spline_dofscan_spline_lamtrain_and_validatetrain_val_split
Dependencies:clicolorspacedlnmfansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgconfigR6RColorBrewerrlangscalestibbletsModelutf8vctrsviridisLitewithr
Citation
To cite package ‘incidental’ in publications use:
Miller A, Hannah L, Foti N, Futoma J (2020). incidental: Implements Empirical Bayes Incidence Curves. R package version 0.1, https://CRAN.R-project.org/package=incidental.
Corresponding BibTeX entry:
@Manual{, title = {incidental: Implements Empirical Bayes Incidence Curves}, author = {Andrew Miller and Lauren Hannah and Nicholas Foti and Joseph Futoma}, year = {2020}, note = {R package version 0.1}, url = {https://CRAN.R-project.org/package=incidental}, }
Readme and manuals
incidental
Overview
incidental contains an empirical Bayes incidence curve fitting from a set of reported cases and a delay distribution:
-
fit_incidence()
fits incidence to a set of reported cases and a delay distribution. -
incidence_to_df()
utility function to return the output offit_incidence()
as a data frame. -
plot()
utility function to plot the output offit_incidence()
You can learn more about incidental in the vignettes.
Installation
install.packages("incidental")