Skip to contents

In autonomous models, this function gets called once to set up a variable describing host availability (\(Q\)) and the egg distribution matrix (\(\cal U\)).

Usage

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

Arguments

t

the time

y

the state variables

pars

an xds object

Value

an xds object

Details

If conditions are time, invariant, then EggLaying.static computes eggs laid. The functions that compute \(Q\) and \(\cal U\) are called once after setup. The class of EGGpar is set to static and the function is never called again. If any parameters are changed that would affect egg laying, then the class of EGGpar should get reset to setup to reconfigure \(Q\) and \(\cal U\).

See also

For \(Q\), see compute_Q

For \(\cal U\), see compute_calU