get.incidence {igraph} | R Documentation |
Bipartite adjacency matrix of a bipartite graph
Description
get.incidence()
was renamed to as_biadjacency_matrix()
to create a more
consistent API.
Usage
get.incidence(graph, types = NULL, attr = NULL, names = TRUE, sparse = FALSE)
Arguments
graph |
The input graph. The direction of the edges is ignored in directed graphs. |
types |
An optional vertex type vector to use instead of the
|
attr |
Either |
names |
Logical scalar, if |
sparse |
Logical scalar, if it is |