This function makes the set of places (P) for a SPN model of a metapopulation network for simulation of coupled SEI-SIS dynamics. It is the network version of spn_P_epiSIS_node.

spn_P_epiSIS_network(node_list, params, cube)



a character vector specifying what type of nodes to create; (m = a node_id with only mosquitoes, h = a node_id with only humans, b = a node_id with both humans and mosquitoes)


a named list of parameters (see details)


an inheritance cube from the MGDrivE package (e.g. cubeMendelian)


a list with two elements: ix contains labeled indices of the places by life stage and node_id, u is the character vector of places (P)


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_SIS

For examples of using this function, see: vignette("epi-network", package = "MGDrivE2")