SIRsim: SIR simulation

Description Usage Arguments Value

View source: R/model.R

Description

Runs a deterministic SIR model with given times, starting population sizes and beta/gamma parameters

Usage

1
SIRsim(t, startPops, params)

Arguments

t

vector of time points to solve ODEs over

startPops

vector of initial S, I and R sizes

params

vector containing values for beta and gamma

Value

the 4 column data frame of SIR dynamics


jameshay218/serosim2 documentation built on May 18, 2019, 11:21 a.m.