horder: The number of vertices, edges and statistics of the...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/horder.R

Description

This returns the number of vertices and hyper-edges, and similar statistics, for a hypergraph.

Usage

1
2
3
4

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

gorder, gsize, hrank.

Examples

1
2
3
4
   h <- hypergraph_from_edgelist(list(3:7,8:12,c(1,3,9)))
	horder(h)
	hsize(h)
	hnames(h)

HyperG documentation built on March 4, 2021, 5:06 p.m.

Related to horder in HyperG...