save_track_origin: Save time and IDs of nodes and their location.

View source: R/network_utils.R

save_track_originR Documentation

Save time and IDs of nodes and their location.

Description

Whenever an individual change their origin because of migration, this function will save the information on track_origin.

Usage

save_track_origin(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 location of individual at certain time.

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

Value

it writes a csv file to the specified location in the computer


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