save_diagnosis_time: Save time in which an individual has been diagnosed as HIV...

View source: R/network_utils.R

save_diagnosis_timeR Documentation

Save 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 ID of the individual and the time of diagnosis.

Usage

save_diagnosis_time(dat, prefix = NULL)

Arguments

dat

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

prefix

Text for prefix to use when saving filename.

Details

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

If a prefix is not provided, csv file will be saved as diag_time.csv

Value

it writes a csv file at a specific location at the computer


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