R/PN-lifecycle-node-T.R
spn_T_lifecycle_node.Rd
This function makes the set of transitions (T) for a SPN. It is used alone if
our model is a single-node metapopulation for mosquito dynamics only; otherwise
it is used as part of other functions to make SPN models with larger state
spaces (metapopulation models, see spn_T_lifecycle_network
).
spn_T_lifecycle_node(spn_P, params, cube)
spn_P | set of places produced by |
---|---|
params | a named list of parameters (see details) |
cube | an inheritance cube from the |
a list with two elements: T
contains transitions packets as lists,
v
is the character vector of transitions (T)
This function takes the places produced from spn_P_lifecycle_node
and builds all possible transitions between subsets of those places.
The params
argument supplies all of the ecological parameters necessary
to calculate equilibrium values. This function requires the nE
,
nL
, and nP
parameters to be specified. For more details, see
equilibrium_lifeycle
While this function produces all structural information related to transitions,
hazards are produced by a separate function, spn_hazards
.
For examples of using this function, see:
vignette("lifecycle-node", package = "MGDrivE2")