incidenceList {giRaph}R Documentation

Incidence list representation of a graph

Description

Retrieve or set the incidence list representation of a graph.

Usage

incidenceList(object, ...)
incidenceList(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 "incidenceList" containing the representation to be set

Details

The functions incidenceList and incidenceList<- are generic.

Value

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

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

See Also

incidenceList-class and anyGraph-class


[Package giRaph version 0.1-1 Index]