adjListGraph: A Graph Function

Description Usage Arguments Value

Description

This function returns a graph object stored as an adjacency list.

Usage

1
adjListGraph(nodes, weighted = FALSE, directed = FALSE)

Arguments

nodes

A vector of nodes

weighted

TRUE if the graph is weighted or FALSE. Defaults to FALSE.

directed

TRUE if graph is directed. Defaults to FALSE.

Value

A graph object


TheBell/Graph documentation built on May 5, 2019, 4:48 p.m.