Learn R Programming

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

incidence (version 1.5.0)

Compute, Handle, Plot and Model Incidence of Dated Events

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 'incidence' is used to store computed incidence and can be easily manipulated, subsetted, and plotted. In addition, log-linear models can be fitted to 'incidence' objects using 'fit'. This package is part of the RECON () toolkit for outbreak analysis.

Copy Link

Version

Install

install.packages('incidence')

Monthly Downloads

1,583

Version

1.5.0

License

MIT + file LICENSE

Maintainer

Zhian N. Kamvar

Last Published

November 1st, 2018

Functions in incidence (1.5.0)

incidence_pal1

Color palettes used in incidence
pool

Pool 'incidence' across groups
subset.incidence

Subsetting 'incidence' objects
bootstrap

Bootstrap incidence time series
group_names

extract and set group names
plot.incidence

Plot function for incidence objects
incidence

Compute incidence of events from a vector of dates.
find_peak

Find the peak date of an incidence curve
estimate_peak

Estimate the peak date of an incidence curve using bootstrap
fit

Fit exponential models to incidence data
get_counts

Get counts from an incidence object
get_dates

Retrieve dates from an incidence object
dim.incidence

Access various elements of an incidence object
get_fit

Accessors for incidence_fit objects
as.data.frame.incidence

Conversion of incidence objects
cumulate

Compute cumulative 'incidence'