Package: incidence2 2.4.0.9000

Tim Taylor

incidence2: Compute, Handle and Plot Incidence of Dated Events

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. This package is part of the RECON (<https://www.repidemicsconsortium.org/>) toolkit for outbreak analysis (<https://www.reconverse.org>).

Authors:Tim Taylor [aut, cre], Thibaut Jombart [ctb]

incidence2_2.4.0.9000.tar.gz
incidence2_2.4.0.9000.zip(r-4.5)incidence2_2.4.0.9000.zip(r-4.4)incidence2_2.4.0.9000.zip(r-4.3)
incidence2_2.4.0.9000.tgz(r-4.4-any)incidence2_2.4.0.9000.tgz(r-4.3-any)
incidence2_2.4.0.9000.tar.gz(r-4.5-noble)incidence2_2.4.0.9000.tar.gz(r-4.4-noble)
incidence2_2.4.0.9000.tgz(r-4.4-emscripten)incidence2_2.4.0.9000.tgz(r-4.3-emscripten)
incidence2.pdf |incidence2.html
incidence2/json (API)
NEWS

# Install 'incidence2' in R:
install.packages('incidence2', repos = c('https://reconverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/reconverse/incidence2/issues

Datasets:

On CRAN:

39 exports 17 stars 7.39 score 24 dependencies 1 dependents 84 scripts 1.0k downloads

Last updated 16 days agofrom:72366fa816. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 20 2024
R-4.5-winOKSep 20 2024
R-4.5-linuxOKSep 20 2024
R-4.4-winOKSep 20 2024
R-4.4-macOKSep 20 2024
R-4.3-winOKSep 20 2024
R-4.3-macOKSep 20 2024

Exports:as_incidenceas_tibbleas.data.tablebootstrap_incidencebuild_incidencecomplete_datescumulateestimate_peakfacet_plotfirst_peakget_count_valueget_count_value_nameget_count_variableget_count_variable_nameget_date_indexget_date_index_nameget_datesget_dates_nameget_group_namesget_groupsget_intervalget_timespanincidenceincidence_keep_firstkeep_lastkeep_peaksmutatemutednestnew_incidenceregroupregroup_selectsummariseunnestunpackvalidate_incidencevibrant

Dependencies:clicpp11data.tabledplyrfansigenericsgluegrateslifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithrympes

An introduction to incidence2

Rendered fromincidence2.Rmdusingknitr::knitron Sep 20 2024.

Last update: 2024-08-28
Started: 2023-01-24

Readme and manuals

Help Manual

Help pageTopics
Access various elements of an incidence objectaccessors get_count_value get_count_value.default get_count_value.incidence2 get_count_value_name get_count_value_name.default get_count_value_name.incidence2 get_count_variable get_count_variable.default get_count_variable.incidence2 get_count_variable_name get_count_variable_name.default get_count_variable_name.incidence2 get_dates get_dates_name get_date_index get_date_index.default get_date_index.incidence2 get_date_index_name get_date_index_name.default get_date_index_name.incidence2 get_groups get_groups.default get_groups.incidence2 get_group_names get_group_names.default get_group_names.incidence2
Coerce to an incidence objectas_incidence as_incidence.default as_incidence.incidence2
Coerce to a tibbleas_tibble.incidence2
Convert incident object to a data frameas.data.frame.incidence2
Coerce to a data.tableas.data.table.incidence2
Bootstrap incidence time seriesbootstrap_incidence
Complete dates for all group combinationscomplete_dates
Regional data for COVID-19 cases in the UKcovidregionaldataUK
Compute cumulative 'incidence'cumulate
Estimate the peak date of an incidence curveestimate_peak estimate_peaks
Compute the incidence of eventsincidence
Compute the incidence of events (tidyselect compatible)incidence_
Keep first, last and peak occurencesfirst_peak keep keep_first keep_last keep_peaks
Create, modify, and delete incidence2 columnsmutate.incidence2
Nest rows into a list-column of data framesnest.incidence2
Plot an incidence objectplot.incidence2
Regroup 'incidence' objectsregroup
Regroup 'incidence' objects (tidyselect compatible)regroup_
Divide an incidence2 object in to it's implicit groupingssplit.incidence2
Summarise each grouping down to one rowsummarise.incidence2
Summary of an incidence objectsummary.incidence2
Color palettes used in incidencemuted palettes vibrant