adjacencyList {giRaph}R Documentation

Adjacency list representation of a graph

Description

Retrieve or set the adjacency list representation of a graph.

Usage

adjacencyList(object, ...)
adjacencyList(x, force = TRUE) <- value

Arguments

object a graph object from which the representation should be retrieved
... additional parameters to be used when retrieving the representation
x a graph object in which the representation should be set
force a logical value telling whether the representation should be set even if this amounts to changing the graph
value an object of class "adjacencyList" containing the representation to be set

Details

The functions adjacencyList and adjacencyList<- are generic.

Value

The function adjacencyList returns an object of class "adjacencyList" containing the adjacency list representation to be retrieved. The function adjacencyList<- returns a graph object in which the adjacency list representation has been set.

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

See Also

adjacencyList-class and multiGraph-class


[Package giRaph version 0.1-1 Index]