View source: R/net.mod.simnet.R
edges_correct | R Documentation |
Adjusts 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.
edges_correct(dat, at)
dat |
Main |
at |
Current time step. |
The updated netsim_dat
main list object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.