recovery.net: Recovery: netsim Module

View source: R/net.mod.recovery.R

recovery.netR Documentation

Recovery: netsim Module

Description

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

Usage

recovery.net(dat, at)

Arguments

dat

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

at

Current time step.

Value

The updated netsim_dat main list object.


EpiModel documentation built on July 9, 2023, 5:21 p.m.