hypergraph.as.edgelist {HyperG} | R Documentation |
Convert between hypergraphs and graphs.
Description
Convert a hypergraph to a graph or a graph, matrix or list to a hypergraph.
Usage
hyper_edges(h)
hypergraph_as_edgelist(h)
Arguments
h |
a hypergraph. |
Details
The function hypergraph_as_edgelist
is just an alias for
hyper_edges
.
Value
A list of the hyperedges.
Author(s)
David J. Marchette dmarchette@gmail.com
See Also
Examples
h <- hypergraph_from_edgelist(list(1:4,1:2,c(2,3,5),c(3,5:7)))
hypergraph_as_edgelist(h)
[Package HyperG version 1.0.0 Index]