departure_mig2: Depature Module

View source: R/module.departure.R

departure_mig2R Documentation

Depature Module

Description

Module function for simulating both general and disease-related departures, including deaths, among population members. In this function we use two departure rates: one for population 1 and another for population 2.

Usage

departure_mig2(dat, at)

Arguments

dat

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

at

Current time step.

Details

Deaths are divided into two categories: general deaths, for which demographic data on age-specific mortality rates applies; and AIDS-mortality rate.

Value

This function returns the updated dat object accounting for deaths.


thednainus/HIVepisim documentation built on Nov. 23, 2023, 12:26 a.m.