horder {HyperG} | R Documentation |
The number of vertices, edges and statistics of the hypergraph.
Description
This returns the number of vertices and hyper-edges, and similar statistics, for a hypergraph.
Usage
hnames(h)
horder(h)
hsize(h)
edge_orders(h)
Arguments
h |
a hypergraph. |
Value
a named vector of vertics, or the names of the vertices.
Order refers to the number of vertices, size to the number of hyper-edges.
The edge_orders
function returns the number of vertices in each of the
hyper-edges. In a simple graph, this would always be 2.
Author(s)
David J. Marchette dmarchette@gmail.com
See Also
Examples
h <- hypergraph_from_edgelist(list(3:7,8:12,c(1,3,9)))
horder(h)
hsize(h)
hnames(h)
[Package HyperG version 1.0.0 Index]