View source: R/supraAdjacencyMatrix.R
BuildSupraAdjacencyMatrixFromExtendedEdgelist | R Documentation |
Build supra-adjacency matrix from edge lists
BuildSupraAdjacencyMatrixFromExtendedEdgelist(
mEdges,
Layers,
Nodes,
isDirected
)
mEdges |
data frame with extended edge list, i.e a data frame with
columns: |
Layers |
scalar, number of layers |
Nodes |
scalar, number of nodes |
isDirected |
logical |
Supra-adjacency matrix, a square matrix of dimension Nodes * Layers
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.