Description Usage Arguments Value Author(s) Examples
Transform an adjacency matrix to an ego-centric list form used in fastnet
.
1 | from.adjacency(adj.mat)
|
adj.mat |
The input adjacency matrix |
A list containing the nodes of the network and their respective neighbors.
Xu Dong, Christian Llano.
1 2 | adj.mat <- matrix(c(0,1,0,0,1,0,0,0,0,0,0,1,0,0,1,0), nrow = 4, ncol = 4)
g <- from.adjacency(adj.mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.