track_origin: Track origin of node in network

View source: R/network_utils.R

track_originR Documentation

Track origin of node in network

Description

This function will track for each node its origin and when it migrates to another location.

Usage

track_origin(dat, at, migrations, IDs)

Arguments

dat

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

at

Current time step.

migrations

Migration number from 21 ("global" to "region") or 12 ("region" to "global").

IDs

Indexes of node IDs

Value

the Master list object of network models (dat)


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