Adjacency matrix of a graph
Transforms the ``edge matrix'' of a graph into the adjacency matrix.
adjMatrix(A)
A
: a square matrix representing the edge matrix of a graph.Given the edge matrix of a graph, this can be transformed into an adjacency matrix with the formula .
Giovanni M. Marchetti
edgematrix
amat <- DAG(y ~ x+z, z~u+v) E <- edgematrix(amat) adjMatrix(E)