eList: Edge list

View source: R/Edges.R

eListR Documentation

Edge list

Description

Returns an eList object from an adjacency matrix or edge matrix object.

Usage

eList(edges, directed = FALSE)

Arguments

edges

adjList, edgeMatrix, adjMatrix, or a list of pairs of edges

directed

logical: if TRUE edges are assumed directed

Details

The directed argument is important; if omitted, then some edges may be recorded only once, even though they are present in both directions.


rje42/MixedGraphs documentation built on March 20, 2024, 8:09 a.m.