Learn R Programming

EpiModel (version 2.0.1)

initialize.net: Initialization: netsim Module

Description

This function initializes the master dat object on which data are stored, simulates the initial state of the network, and simulates disease status and other attributes.

Usage

initialize.net(x, param, init, control, s)

Arguments

x

An EpiModel object of class netest.

param

An EpiModel object of class param.net.

init

An EpiModel object of class init.net.

control

An EpiModel object of class control.net.

s

Simulation number, used for restarting dependent simulations.