Compute derivatives for deSolve::ode or deSolve::dede using generic methods for each model component.
Arguments
- a
age of a cohort
- y
state vector
- pars
a list
- F_eir
a trace function that returns the eir as a function of time
Value
a list containing the vector of all state derivatives