Description Usage Arguments Value Author(s) References Examples
Return the rank and corank of a hypergraph. The rank is the maximum cardinality of a hyperedge, the corank (sometimes called the anti-rank) is the minimum.
1 | hrank(h)
|
h |
a hypergraph. |
a number.
David J. Marchette dmarchette@gmail.com
Bretto, Alain, Hypergraph theory, An introduction. Springer, 2013.
1 2 3 | h <- hypergraph_from_edgelist(list(1:5,4:7,c(1,6)))
hrank(h) # 5
hcorank(h) # 2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.