getEdges {mixer}R Documentation

Return Graph Edges

Description

This generic function returns the edges of a graph-like structure in a two-line matrix. Each column represents an edge, its first line being the source node and its second line being the destination node.

Usage

getEdges(g, ...)

Arguments

g An object of a suitable class.
... Some methods for this generic function may take additional, optional arguments. At present none do.

Value

Returns a two line matrix with as much columns as there are edges in the graph..


[Package mixer version 0.2 Index]