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 the released version of {incidence2} from CRAN with:

install.packages("incidence2")

The development version of {incidence2} can be installed from GitHub with:

remotes::install_github("reconverse/incidence2", build_vignettes = TRUE)

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,232

Version

2.2.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Tim Taylor

Last Published

December 5th, 2023

Functions in incidence2 (2.2.3)

as_incidence

Coerce to an incidence object
as.data.frame.incidence2

Convert incident object to a data frame
accessors

Access various elements of an incidence object
covidregionaldataUK

Regional data for COVID-19 cases in the UK
cumulate

Compute cumulative 'incidence'
incidence

Compute the incidence of events
incidence2-package

incidence2: Compute, Handle and Plot Incidence of Dated Events
incidence2-defunct

Functions now defunct in package incidence2
plot.incidence2

Plot an incidence object
vibrant

Color palettes used in incidence
keep

Keep first, last and peak occurences
complete_dates

Complete dates for all group combinations
print.incidence2

Print an incidence object.
regroup

Regroup 'incidence' objects
s3_register

Register a method for a suggested dependency
summary.incidence2

Summary of an incidence object