sim_nets_t1 {EpiModel} | R Documentation |
Initialize Networks Used in netsim
Description
This function initializes the networks used in
netsim
. The initial edge set for a given network
is obtained either from simulating the cross-sectional model
(if edapprox == TRUE
) or from the newnetwork
element of the netest
object (if
edapprox == FALSE
). Once the initial edge sets are
determined, the first time step is simulated if
resimulate.network == TRUE
, and all time steps are
simulated if resimulate.network == FALSE
. Initializes the
sim.num(.g2)
epi fields used in
edges_correct
for computing edge coefficient
adjustments.
Usage
sim_nets_t1(dat)
Arguments
dat |
Main |
Value
The updated netsim_dat
main list object.
[Package EpiModel version 2.4.0 Index]