Package: projections 0.6.1
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.1.tar.gz
projections_0.6.1.zip(r-4.7)projections_0.6.1.zip(r-4.6)projections_0.6.1.zip(r-4.5)
projections_0.6.1.tgz(r-4.6-any)projections_0.6.1.tgz(r-4.5-any)
projections_0.6.1.tar.gz(r-4.7-any)projections_0.6.1.tar.gz(r-4.6-any)
projections_0.6.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
Pkgdown/docs site:https://www.repidemicsconsortium.org
Last updated from:1aff0e912d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 134 | ||
| source / vignettes | OK | 180 | ||
| linux-release-x86_64 | OK | 171 | ||
| macos-release-arm64 | OK | 213 | ||
| macos-oldrel-arm64 | OK | 179 | ||
| windows-devel | OK | 119 | ||
| windows-release | OK | 131 | ||
| windows-oldrel | OK | 85 | ||
| wasm-release | OK | 118 |
Exports:add_projectionsbuild_projectionsget_datesmerge_add_projectionsmerge_projectionsproject
Dependencies:aweekclicpp11farverggplot2gluegtableincidenceisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr
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 |
