spn_P_epiSEIR_node {MGDrivE2} | R Documentation |
Make Places (P) For a Node (SEI Mosquitoes - SEIR Humans)
Description
This function makes the set of places (P) for a SPN. It is used alone if our
model is a single-node metapopulation for mosquito SEI and human SEIR dynamics;
otherwise it is used as part of other functions to make SPN models with larger
state spaces (metapopulation models, spn_P_epiSEIR_network
).
Usage
spn_P_epiSEIR_node(params, cube)
Arguments
params |
a named list of parameters (see details) |
cube |
an inheritance cube from the |
Details
The params
argument supplies all of the ecological parameters necessary
to calculate equilibrium values. This function requires the nE
,
nL
, nP
, and nEIP
parameters to be specified. For more details, see
equilibrium_SEI_SEIR
For examples of using this function, see:
vignette("seir-dynamics", package = "MGDrivE2")
Value
a list with two elements: ix
contains labeled indices of the
places by life stage, u
is the character vector of places (P)