topologically_ordering | R Documentation |
Order rows/columns of a adjacency matrix topologically
topologically_ordering(adja_mat, alt = FALSE)
adja_mat |
Adjacency matrix of network |
alt |
Use igraph implementation |
topologically ordered matrix
adj <- matrix(c(0,1,0,0,0,1,0,0,0),3,3) topologically_ordering(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.