Learn R Programming

EpiModel (version 2.0.1)

recovery.2g.net: Recovery: netsim Module

Description

This function simulates recovery from the infected state either to an distinct recovered state (SIR model type) or back to a susceptible state (SIS model type), for use in netsim.

Usage

recovery.2g.net(dat, at)

Arguments

dat

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

at

Current time step.