Processing math: 100%

Compute the derivatives for SIPd compartmental model: dS/dt=(h+ξ)S+rI+ηP+dH(S)+B(t,H)dI/dt=(1ρ)hS(r+ξ)I+dH(I)dP/dt=(ρh+ξ)S+ξIηP+dH(P) where H=S+I+P; B(t,H) is the time-dependent birth rate; and the dH operator computes derivatives for the demographic model H.

# S3 method for class 'SIPd'
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

See also

The parameters are defined in [make_Xpar_SIPd]