Convert igraph network object into its sparse adjacency matrix representation using as_adjacency_matrix
function from the igraph
package.
igraph.to.sparseAdjMat(igraph_network)
Sparase adjacency matrix returned by igraph::as_adjacency_matrix
function.
NOTE: for directed graphs the friend IDs pointing into vertex i
are assumed to be listed in the column i
(i.e, which(adjmat[,i])
are friends of i
).
Network as an igraph
object
network
; sparseAdjMat.to.NetInd
; NetInd.to.sparseAdjMat
; sparseAdjMat.to.igraph
;