Converts a hypergraph (or graph) into a bipartite graph.
Usage
as.bipartite(h)
Arguments
h
a hypergraph or a graph.
Value
an igraph bipartite graph.
Details
This converts a hypergraph or a graph into a bipartite graph, by
taking the incidence matrix and treating this as the incidence matrix
of a bipartite graph. It uses graph_from_incidence_matrix
to perform the conversion.