Skip to contents

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'
TimeSpent(t, y, xds_obj)

Arguments

t

the time

y

the state variables

xds_obj

an xds object

Value

an xds object

Details

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