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).

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.