build_Id: Build identity matrix

Description Usage Arguments Value

View source: R/indicators.R

Description

Build the sparse identity matrix Id from a graph adjacency matrix.

Usage

1
build_Id(adj_mat)

Arguments

adj_mat

The original adjacency matrix.

Value

An identity matrix Id in sparse form.


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