This is a generalized RM model which allows for time varying EIP and survival probability. It complies with the mosquito component interface, and may be simulated deterministically or stochastically.
Usage
setup_mosquito_RM(
model,
stochastic,
f = 0.3,
q = 0.9,
eip,
p,
psi,
nu = 25,
M,
Y,
Z,
N = NULL
)
Arguments
- model
an object from make_MicroMoB
- stochastic
should the model update deterministically or stochastically?
- f
the blood feeding rate
- q
the human blood feeding fraction
- eip
the Extrinsic Incubation Period (may be time varying see time_varying_parameter)
- p
daily survival probability (may be time and patch varying see time_patch_varying_parameter)
- psi
a mosquito dispersal matrix (rows must sum to 1)
- nu
number of eggs laid per oviposition
- M
total mosquito density per patch (vector of length
p
)- Y
density of incubating mosquitoes per patch (vector of length
p
)- Z
density of infectious mosquitoes per patch (vector of length
p
)- N
l
byp
matrix describing how eggs from mosquitoes in patches are distributed amongst aquatic habitats. IfNULL
it is the identity matrix of dimensionl
.