deaths_shamp: Death Module for up to 5 race groups heterosexuals and MSM.

Description Usage Arguments Details Value

Description

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

Usage

1
deaths_shamp(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. Which nodes have died is determined stochastically for general deaths using draws from a binomial distribution, and deterministically for disease-related deaths after nodes have reach a maximum viral load value set in the vl.fatal parameter.

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_shamp module for bookkeeping purposes.


dth2/EpiModelHIV_SHAMP documentation built on May 15, 2019, 4:56 p.m.