Learn R Programming

EpiModel (version 2.3.2)

sim_nets_t1: Simulate Initial Network at Time 1 for Model Initialization

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.

Usage

sim_nets_t1(x, dat, nsteps)

Value

The updated dat main list object.

Arguments

x

An EpiModel object of class netest.

dat

Main list object containing a networkDynamic object and other initialization information passed from netsim.

nsteps

For TERGMs, the number of time steps to simulate the network over; for ERGMs, the number of independent network panels to simulate.