birewire.slum.to.sparseMatrix: The function transforms a triplet sparse matrix from slum...

Description Usage Arguments Value Author(s)

View source: R/BiRewire.R

Description

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.)

Usage

1
birewire.slum.to.sparseMatrix( simple_triplet_matrix_sparse)

Arguments

simple_triplet_matrix_sparse

A triplet sparse matrix, usually the object coming from read_stm_CLUTO.

Value

Returns an Matrix sparse matrix that could be used for building an igraph graph using graph.adjacency.

Author(s)

Andrea Gobbi
Maintainer: Andrea Gobbi <gobbi.andrea@mail.com>


BiRewire documentation built on Nov. 8, 2020, 8:09 p.m.