powered by
Convert a hypergraph to a graph or a graph, matrix or list to a hypergraph.
hyper_edges(h) hypergraph_as_edgelist(h)
a hypergraph.
A list of the hyperedges.
The function hypergraph_as_edgelist is just an alias for hyper_edges.
hypergraph_as_edgelist
hyper_edges
as_edgelist
# NOT RUN { h <- hypergraph_from_edgelist(list(1:4,1:2,c(2,3,5),c(3,5:7))) hypergraph_as_edgelist(h) # }
Run the code above in your browser using DataLab