graph.incidence {igraph} | R Documentation |
Create graphs from a bipartite adjacency matrix
Description
graph.incidence()
was renamed to graph_from_biadjacency_matrix()
to create a more
consistent API.
Usage
graph.incidence(
incidence,
directed = FALSE,
mode = c("all", "out", "in", "total"),
multiple = FALSE,
weighted = NULL,
add.names = NULL
)
Arguments
incidence |
The input bipartite adjacency matrix. It can also be a sparse matrix
from the |
directed |
Logical scalar, whether to create a directed graph. |
mode |
A character constant, defines the direction of the edges in
directed graphs, ignored for undirected graphs. If ‘ |
multiple |
Logical scalar, specifies how to interpret the matrix elements. See details below. |
weighted |
This argument specifies whether to create a weighted graph
from the bipartite adjacency matrix. If it is |
add.names |
A character constant, |