checkGraphtype {ghypernet} | R Documentation |
Check graph input type (for whether it's a graph or a edgelist).
Description
Returns TRUE if the supplied object graph
is an adjacency matrix. Returns FALSE if the provided object is an edgelist. The function checks whether the edgelist conforms to our standards (sender, target, edgecount).
Usage
checkGraphtype(graph)
Arguments
graph |
A graph adjacency matrix or an edgelist. |
Value
TRUE or FALSE. Returns TRUE if the provided object graph
is an adjacency matrix.
[Package ghypernet version 1.1.0 Index]