reinit_het: Reinitialization Module

Description Usage Arguments Value

View source: R/mod.init.R

Description

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

Usage

1
reinit_het(x, param, init, control, s)

Arguments

x

An EpiModel object of class netest.

param

An EpiModel object of class param_het.

init

An EpiModel object of class init_het.

control

An EpiModel object of class control_het.

s

Simulation number, used for restarting dependent simulations.

Value

This function returns the updated dat object with the initialized values for demographics and disease-related variables.


statnet/EpiModelHIVhet documentation built on May 30, 2019, 9:47 a.m.