build_G: Build sparse adjacency matrix

Description Usage Arguments Value

View source: R/indicators.R

Description

Build the sparse adjacency matrix G from a graph adjacency matrix.

Usage

1
build_G(adj_mat)

Arguments

adj_mat

The original adjacency matrix.

Value

The adjacency matrix G in sparse form.


motifcluster documentation built on Nov. 15, 2021, 9:06 a.m.