Updates to Network Attributes During Mpox Resimulation
resimnet_updates.Rd
This function is updates the network-related degree attributes on the three-layer MSM sexual network that account for the resimulated network structure.
Details
This function is called between network resimulations in EpiModel::resim_nets
, passed into
control_msm
through the dat.updates
argument. This implementation updates degree attributes
calculated from the current network snapshot for use as ERGM terms in the other network layers
(e.g., degree in the casual network is a function of the degree in the main network). See the
general documentation for dat.updates
at EpiModel::control.net
.