birewire.slum.to.sparseMatrix {BiRewire} | R Documentation |
Transform a triplet sparse matrix from slum package to a Matrix sparse matrix that can be used by igraph for creating a network. This function could be used in order to analyze graphs obtained from samplers routines (birewire.sampler.undirected
,birewire.sampler.dsg
and birewire.sampler.bipartite
.)
birewire.slum.to.sparseMatrix( simple_triplet_matrix_sparse)
simple_triplet_matrix_sparse |
A triplet sparse matrix, usually the object coming from |
Returns an Matrix sparse matrix that could be used for building an igraph
graph using graph.adjacency
.
Andrea Gobbi
Maintainer: Andrea Gobbi <gobbi.andrea@mail.com>