Package: projections 0.6.0
projections: Project Future Case Incidence
Provides functions and graphics for projecting daily incidence based on past incidence, and estimates of the serial interval and reproduction number. Projections are based on a branching process using a Poisson-distributed number of new cases per day, similar to the model used for estimating R in 'EpiEstim' or in 'earlyR', and described by Nouvellet et al. (2017) <doi:10.1016/j.epidem.2017.02.012>. The package provides the S3 class 'projections' which extends 'matrix', with accessors and additional helpers for handling, subsetting, merging, or adding these objects, as well as dedicated printing and plotting methods.
Authors:
projections_0.6.0.tar.gz
projections_0.6.0.zip(r-4.5)projections_0.6.0.zip(r-4.4)projections_0.6.0.zip(r-4.3)
projections_0.6.0.tgz(r-4.4-any)projections_0.6.0.tgz(r-4.3-any)
projections_0.6.0.tar.gz(r-4.5-noble)projections_0.6.0.tar.gz(r-4.4-noble)
projections_0.6.0.tgz(r-4.4-emscripten)projections_0.6.0.tgz(r-4.3-emscripten)
projections.pdf |projections.html✨
projections/json (API)
NEWS
# Install 'projections' in R: |
install.packages('projections', repos = c('https://reconhub.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/reconhub/projections/issues
Last updated 2 years agofrom:1fe5715562. Checks:OK: 3 ERROR: 2 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 11 2024 |
R-4.5-win | ERROR | Nov 11 2024 |
R-4.5-linux | ERROR | Nov 11 2024 |
R-4.4-win | NOTE | Nov 11 2024 |
R-4.4-mac | NOTE | Nov 11 2024 |
R-4.3-win | OK | Nov 11 2024 |
R-4.3-mac | OK | Nov 11 2024 |
Exports:add_projectionsbuild_projectionsget_datesmerge_add_projectionsmerge_projectionsproject
Dependencies:aweekclicolorspacefansifarverggplot2gluegtableincidenceisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Subsetting 'projections' objects | "subset.projections" "[.projections" subset.projections [.projections |
Conversion of projections objects | as.data.frame.projections as.matrix.projections |
Constructor for projections objects | build_projections |
Compute cumulative projections | cumulate.projections |
Access content projections objects | get_dates get_dates.projections |
Add data of different projections objects | +.projections merge_add_projections |
Merge a list of projections objects | merge_projections |
Plot projections objects | add_projections plot.projections |
Print method for projections objects | print.projections |
Project future incidence | project |
Summary for projections objects | summary.projections |