sparseAdjMat.to.igraph {simcausal} | R Documentation |
Convert Network from Sparse Adjacency Matrix into igraph Object
Description
Uses graph_from_adjacency_matrix
function from the igraph
package to convert the network in sparse adjacency matrix format into igraph
network object.
Usage
sparseAdjMat.to.igraph(sparseAdjMat, mode = "directed")
Arguments
sparseAdjMat |
Network represented as a sparse adjacency matrix (S4 class object |
mode |
Character scalar, passed on to |
Value
A list containing the network object(s) of type DAG.net
.
See Also
network
; igraph.to.sparseAdjMat
; sparseAdjMat.to.NetInd
; NetInd.to.sparseAdjMat
;
[Package simcausal version 0.5.6 Index]