Description Usage Format Details Examples
This data is the SIR formulation of 188 cases of measles among children in
the German city of Hagelloch, 1861, and is a reformulation of the data in
hagelloch_raw
. Each row is asssociated with 1 day (where
t
tells the number of days after the start of the outbreak), and
the rest of the columns report the number of individuals suspectable,
infected, and in recovery.
1 |
A data frame with 95 rows and 4 columns
time since outbreak, t = 0, …, T=94
Number of individuals suspectable
Number of individuals infected
Number of individuals in recovery
Note that s_t + i_t + r_t = 188 for each row t in 0, …, 94.
1 2 3 | ## show first few cases
head(hagelloch_sir)
assertthat::assert_that(all(apply(hagelloch_sir[,-1], 1, sum) == 188))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.