save_track_stages: Save time and IDs of nodes and their stages of HIV infection.

View source: R/network_utils.R

save_track_stagesR Documentation

Save time and IDs of nodes and their stages of HIV infection.

Description

Whenever an individual change the stage of HIV infection, this function will save the information on track_stages.

Usage

save_track_stages(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 information to get the stage of infection at time of sampling.

If a prefix is not provided, csv file will be saved as stages.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.