getAdjacencyMatrix {mixer}R Documentation

Return a Graph's Adjacency Matrix

Description

This generic function returns the adjacency matrix of a graph. Non-null elements denote that an edge exists between the nodes corresponding to the row and column index.

Usage

getAdjacencyMatrix(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 square-matrix where non-null elements denote the existence of edges in the graph.


[Package mixer version 0.2 Index]