Learn R Programming

EpiModel (version 2.2.1)

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)

Arguments

x

An EpiModel object of class netest.

dat

A master object passed through netsim.

nsteps

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