hypergraph_from_literal {HyperG} | R Documentation |
Hypergraph from literal.
Description
Similar to the igraph function, except that in this case the literals just indicate the hyper-edges.
Usage
hypergraph_from_literal(...)
Arguments
... |
see details. |
Details
This takes a collection of hyperedge descriptions, such as a-3-C-9, indicating the hyper-edge containing a,C,3 and 9. It returns the associated hypergraph. This is different from the graph version; in essence, this would be the same as constraining the graph version to require all the argumenst to be pairs. There is no way to produce chains, as in the graph version.
Value
a hypergraph.
Author(s)
David J. Marchette dmarchette@gmail.com
See Also
Examples
h1 <- hypergraph_from_literal(1-2-3,3-a-b,c-1-4)
plot(h1)
[Package HyperG version 1.0.0 Index]