incidenceMatrix {giRaph} | R Documentation |
Retrieve or set the incidence matrix representation of a graph
incidenceMatrix(object, ...) incidenceMatrix(x, force = TRUE)<- value
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 "incidenceMatrix" containing the representation to be set |
The functions incidenceMatrix
and incidenceMatrix<-
are generic.
The function incidenceMatrix
returns an object of class "incidenceMatrix"
containing the incidence matrix representation to be retrieved. The function incidenceMatrix<-
returns a graph object in which the incidence matrix representation has been set.
Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca
incidenceMatrix-class
and generalGraph-class