get_edgelist: Get an Edgelist From the Specified Network

View source: R/el_cuml.R

get_edgelistR Documentation

Get an Edgelist From the Specified Network

Description

This function outputs an edgelist from the specified network, selecting the method depending on the stored network type.

Usage

get_edgelist(dat, network)

Arguments

dat

Main netsim_dat object containing a networkDynamic object and other initialization information passed from netsim.

network

Numerical index of the network from which the edgelist should be extracted. (May be > 1 for models with multiple overlapping networks.)

Value

An edgelist in matrix form with two columns. Each column contains the posit_ids (see get_posit_ids) of the nodes in each edge.


EpiModel documentation built on July 9, 2023, 5:21 p.m.