Learn R Programming

motifcluster (version 0.2.3)

demonstration_graph: 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()

Arguments

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.