departure_msm: Depature Module

Description Usage Arguments Details Value

View source: R/mod.departure.R

Description

Module function for simulting both general and disease-related departures, including deaths, among population members.

Usage

1
2
3
departure_msm(dat, at)

deaths_het(dat, at)

Arguments

dat

Master data list object of class dat containing networks, individual-level attributes, and summary statistics.

at

Current time step.

Details

Deaths are divided into two categories: general deaths, for which demographic data on age-specific mortality rates applies; and disease-related diseases, for which the rate of death is a function of progression to end-stage AIDS.

Value

This function returns the updated dat object accounting for deaths. The deaths are deactivated from the main and casual networks, as those are in networkDynamic class objects; dead nodes are not deleted from the instant network until the simnet_msm module for bookkeeping purposes.


statnet/EpiModelHIV documentation built on Aug. 28, 2020, 11:07 p.m.