| initialize.net | R Documentation |
This function initializes the main netsim_dat class data
object on which data are stored, simulates the initial state of
the networks, and simulates disease status and other attributes.
initialize.net(x, param, init, control, s)
x |
If |
param |
An |
init |
An |
control |
An |
s |
Simulation number, used for restarting dependent simulations. |
When re-initializing a simulation, the netsim object passed
to initialize.net must contain the elements param,
nwparam, epi, coef.form, and num.nw.
A netsim_dat class main data object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.