Learn R Programming

giRaph (version 0.0.0.11)

incidenceList: 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

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.

Details

The functions incidenceList and incidenceList<- are generic.

See Also

incidenceList-class and anyGraph-class