Learn R Programming

⚠️There's a newer version (2.6.2) of this package.Take me there.

incidence2

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 incidence2 from CRAN with:

install.packages("incidence2")

Vignettes

An overview of incidence2 is provided in the vignette distributed with the package:

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

Copy Link

Version

Install

install.packages('incidence2')

Monthly Downloads

1,150

Version

2.6.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Tim Taylor

Last Published

March 11th, 2025

Functions in incidence2 (2.6.1)

plot.incidence2

Plot an incidence object
incidence2-package

incidence2: Compute, Handle and Plot Incidence of Dated Events
vibrant

Color palettes used in incidence
regroup

Regroup 'incidence' objects
reexports

Objects exported from other packages
keep

Keep first, last and peak occurences
incidence

Compute the incidence of events
complete_dates

Complete dates for all group combinations
bootstrap_incidence

Bootstrap incidence time series
covidregionaldataUK

Regional data for COVID-19 cases in the UK
cumulate

Compute cumulative 'incidence'
dplyr-verbs

dplyr and tidyr verbs
accessors

Access various elements of an incidence object
as

Coerce to and from an incidence object
estimate_peak

Estimate the peak date of an incidence curve
incidence2-defunct

Functions now defunct in package incidence2
split.incidence2

Divide an incidence2 object in to it's implicit groupings
summary.incidence2

Summary of an incidence object