Adjustment for the Edges Coefficient with Changing Network Size
Source:R/net.mod.simnet.R
edges_correct.RdAdjusts the edges coefficient in a dynamic network model
simulated in netsim to preserve the mean
degree of nodes in the network. Requires at >= 2.
Maintains the num(.g2) epi fields (initialized in
sim_nets_t1) for computing the coefficient
adjustment.
Arguments
- dat
Main
netsim_datobject containing anetworkDynamicobject and other initialization information passed fromnetsim.- at
Current time step.