SIRSample: Sample SIR data

SIRSampleR Documentation

Sample SIR data

Description

A small dataset containing points generated from a simple deterministic SIR model. The model contains three input parameters, and generates three output parameters. The initial populations are 950 susceptible (S), 50 infected (I), and 0 recovered (R). The final values are taken at time t=10.

Usage

SIRSample

Format

A list of two data frames. The first has 30 rows and 6 variables, the second 60 rows and 6 variables. The structure is the same in both cases:

aSI

Infection: transition rate from S to I

aIR

Recovery: transition rate from I to R

aSR

Waning immunity: transition rate from R to S

nS

Final number of S

nI

Final number of I

nR

Final number of R

Details

The model operates using simple differential equations, where

S' = aSR*R - aSI*S*I/(S+I+R)

I' = aSI*S*I/(S+I+R) - aIR*I

R' = aIR*I - aSR*R.


hmer documentation built on June 22, 2024, 9:22 a.m.