get_cumulative_edgelist {EpiModel} | R Documentation |
Get a Cumulative Edgelist From a Specified Network
Description
Get a Cumulative Edgelist From a Specified Network
Usage
get_cumulative_edgelist(dat, network)
Arguments
dat |
Main |
network |
Numerical index of the network from which the cumulative edgelist should be extracted. (May be > 1 for models with multiple overlapping networks.) |
Value
A cumulative edgelist in data.frame
form with 4 columns:
-
head
: the unique ID (seeget_unique_ids
) of the head node on the edge. -
tail
: the unique ID (seeget_unique_ids
) of the tail node on the edge. -
start
: the time step in which the edge started. -
stop
: the time step in which the edge stopped; if ongoing, thenNA
is returned.
[Package EpiModel version 2.4.0 Index]