Skip to contents

Compute the derivatives for SIS compartmental model. Here, the model includes human demographic changes, and it is computed in an equivalent form: dH/dt=B(t,H)+DHdI/dt=h(HI)rIξ(t)+DI where S=HI ; ξ(t) is a function to simulate mass treatment; B(t,H) is the time-dependent birth rate; and D is a linear operator, a matrix describing demographic changes, including mortality, migration, and aging;

Usage

# S3 method for class 'SIS'
dXdt(t, y, pars, i)

Arguments

t

current simulation time

y

state vector

pars

an xds object

i

the host species index

Value

a numeric vector