Compute blood feeding objects: setup for static models
Source:R/blood_feeding.R
BloodFeeding.setup.Rd
This sets up host available, \(W\), total blood host available, \(B\), the time spent matrix \(\Theta\), and the time-at-risk matrix \(\Psi\) for static models.
Usage
# S3 method for class 'setup'
BloodFeeding(t, y, xds_obj)
Details
The mixing matrix, \(\beta\), depends on
blood feeding terms, so the class of xds_obj$beta
must also
be updated, if they are not dynamic, so trigger_setup is called.