set_diagnosis_time: Set time in which an individual has been diagnosed as HIV...

View source: R/network_utils.R

set_diagnosis_timeR Documentation

Set time in which an individual has been diagnosed as HIV positive

Description

Whenever an individual has a positive HIV test, this function will save the IDs of infected nodes and time of the positive HIV test.

Usage

set_diagnosis_time(dat, at, IDs)

Arguments

dat

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

at

Current time step.

IDs

IDs of individuals who have been diagonsed as HIV positive.

prefix

Text for prefix to use when saving filename.

Details

This function will save the time in which an individual has diagnosed as HIV positive

Value

the Master list object of network models (dat)


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