Compute derivatives for deSolve::ode or deSolve::dede using generic methods for each model component.

xde_cohort_derivatives(age, y, pars, birthday)

Arguments

age

host age

y

the state variables

pars

an xds object

birthday

the cohort birthday

Value

a list containing the vector of all state derivatives