Make Places (P) For a Network (SEI Mosquitoes - SEIR Humans)
Source:R/PN-epiSEIR-network-P.R
spn_P_epiSEIR_network.RdThis function makes the set of places (P) for a SPN model of a metapopulation
network for simulation of coupled SEI-SEIR dynamics. It is the network version
of spn_P_epiSEIR_node.
Arguments
- node_list
a character vector specifying what type of nodes to create; (m = a node with only mosquitoes, h = a node with only humans, b = a node with both humans and mosquitoes)
- params
a named list of parameters (see details)
- cube
an inheritance cube from the
MGDrivEpackage (e.g.cubeMendelian)
Value
a list with two elements: ix contains labeled indices of the places
by life stage and node, u is the character vector of places (P)
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")