Learn R Programming

EpiModel (version 2.2.0)

get_cumulative_edgelists_df: Get the Cumulative Edgelists of a Model in data.frame Format

Description

Get the Cumulative Edgelists of a Model in data.frame Format

Usage

get_cumulative_edgelists_df(dat, networks = NULL)

Arguments

dat

a Master list object of network models

networks

the indexes of the networks to extract the cumulative edgelists from. If NULL (default) extract all the cumulative edgelists.

Value

a data.frame with 5 columns: head and tail, the unique_ids (see get_unique_ids) of the nodes on the edge. Start and stop, the timestep where the edges started and stopped. network, the network on which the edge is.