View source: R/support_graphs.R
support_graph | R Documentation |
The support graph of a hypergraph is a graph that has a vertex for every vertex in the hypergraph. Two vertices are connected in the support graph if there is a hyperedge that connects them.
support_graph(hype, simple = TRUE)
hype |
A hypergraph object. |
simple |
Whether a simplified support graph should be created. |
If simple
is set to FALSE
then for unweighted hypergraphs without real coefficients
the support graph has an edge connected vertices for each hyperedge connecting them
in the hypergraph.
The support graph of the hypergraph
hype <- example_hype() g <- support_graph(hype) print(g) plot(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.