sir: Single population SIR case - ODE model

Description Usage Arguments Value See Also

View source: R/final_size.R

Description

1 age class SIR ode function (for use in deSolve)

Usage

1
sir(t, y, pars, C)

Arguments

t

current time, as for ode function

pars

vector of R0 and duration of infectious period

C

the contact rate

vector

of compartment sizes ie. S, I and R

Value

a list of compartment size changes, as required by deSolve

See Also

sir_3, sir_2


jameshay218/episize documentation built on May 18, 2019, 11:20 a.m.