hivtx_msm: Treatment Module

View source: R/module.hivtx.R

hivtx_msmR Documentation

Treatment Module

Description

Module function for anti-retroviral treatment (ART) initiation and adherence over time.

Usage

hivtx_msm(dat, at)

Arguments

dat

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

at

Current time step.

Details

Persons enter into the simulation with one of three ART "patterns": never tested, tested but never treated, and treated. This module initiates ART for treatment naive persons in the latter type, and then cycles them on and off treatment. ART initiation, non-adherence, and restarting are all stochastically simulated based on binomial statistical models.

Value

This function returns the dat object with updated tx.status, tx.init.time, cuml.time.on.tx, cuml.time.off.tx attributes. Summary statistics for the average cumulative time on and off treatment are calculated and stored on dat$epi.


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