simulate_dat {EpiModel} | R Documentation |
Simulate a Network for a Specified Number of Time Steps
Description
This function simulates a dynamic network over one or multiple
time steps for TERGMs or one or multiple cross-sectional network
panels for ERGMs, for use in netsim
modeling.
Network statistics are also extracted and saved if
save.nwstats == TRUE
and
resimulate.network == FALSE
.
Usage
simulate_dat(dat, at, network = 1L, nsteps = 1L)
Arguments
dat |
Main |
at |
Current time step. |
network |
index of the network to simulate |
nsteps |
number of time steps to simulate |
Value
The updated netsim_dat
main list object.
[Package EpiModel version 2.5.0 Index]