incidence2: Compute, Handle and Plot Incidence of Dated Events

2025-03-11

Title Compute, Handle and Plot Incidence of Dated Events
Version 2.6.1
Description Provides functions and classes to compute, handle and visualise incidence from dated events for a defined time interval. Dates can be provided in various standard formats. The class incidence2 is used to store computed incidence and can be easily manipulated, subsetted, and plotted.
Depends grates (>= 1.3.0), R (>= 4.1.0)
Imports grDevices, data.table, pillar, utils, stats, tibble, tidyr, dplyr (>= 1.1.0), tidyselect, rlang, vctrs, ympes (>= 1.3.0)
Suggests outbreaks, ggplot2, scales, litedown, testthat (>= 3.0.0), ciTools, withr
License MIT + file LICENSE
URL https://www.reconverse.org/incidence2/, https://github.com/reconverse/incidence2
BugReports https://github.com/reconverse/incidence2/issues
VignetteBuilder litedown
Author Tim Taylor ORCID iD [aut, cre], Thibaut Jombart [ctb]

incidence2 is an R package that implements functions and classes to compute, handle and visualise incidence from linelist data. It refocusses the scope of the original incidence package. Unlike the original package, incidence2 concentrates only on the initial calculation, manipulation and plotting of the resultant incidence objects.

Installing the package

You can install the latest release of incidence2 from CRAN with:

install.packages("incidence2")

Vignettes

A detailed introduction to incidence2 can be found in the included vignette

vignette("incidence2", package = "incidence2")