This sets up host availability, \(W\), total blood host availability, \(B\), the time spent matrix \(\Theta\), and the time-at-risk matrix \(\Psi\) for static models.

# S3 method for class 'setup'
BloodFeeding(t, y, pars)

Arguments

t

the time

y

the state variables

pars

an xds object

Value

an xds object

Details

The mixing matrix, \(\beta\), depends on blood feeding terms, so the class of pars$beta must also be updated, if they are not dynamic, so trigger_setup is called.