Builds extended edgelist from supra-adjacency matrix

BuildExtendedEdgelistFromSupraAdjacencyMatrix(
  SupraAdjacencyMatrix,
  Layers,
  Nodes,
  isDirected
)

Arguments

SupraAdjacencyMatrix

the supra-adajcency matrix

Layers

scalar, number of layers

Nodes

scalar, number of nodes

isDirected

logical

Value

Data frame with columns: node.from, layer.from, node.to, layer.to weight