demonstration_graph: Generate a small graph for demonstrations

View source: R/sampling.R

demonstration_graphR Documentation

Generate a small graph for demonstrations

Description

Generate the sparse and dense adjacency matrices of a small weighted directed graph, for demonstrating methods and running tests.

Usage

demonstration_graph()

Value

A list with two entries: adj_mat_dense is the adjacency matrix in dense form, and adj_mat_sparse is the adjacency matrix in sparse form.


motifcluster documentation built on Nov. 18, 2022, 9:06 a.m.