Skip to contents

Compute and return the derivatives for a model of class \(\cal X\) - the dynamics of infection and immunity in humans or other vertebrate host.

The function dispatches on class(Xpar).

Usage

dXdt(t, y, pars, i)

Arguments

t

current simulation time

y

state vector

pars

an xds object

i

the host species index

Value

the derivatives as a numeric vector