outbreaker2 (version 1.0.1)

fake_outbreak: Small simulated outbreak

Description

This dataset is a small (30 cases) simulated outbreak originally used to illustrate outbreaker, and used for the same purposes in outbreaker2. This list contains the following:

Usage

fake_outbreak

Arguments

Format

An object of class list of length 5.

Details

  • $onset: A vector of integers representing dates of onset.

  • $sample: A vector of integers representing the dates of isolation.

  • $dna: A DNAbin matrix of pathogen genome sequences.

  • $w: A numeric vector giving the empirical distribution of the generation time.

  • $ances: A vector of integers indicating, for each case, the true infectors. NA represents imported cases.

Examples

Run this code
# NOT RUN {
names(fake_outbreak)
fake_outbreak

# }

Run the code above in your browser using DataLab