as.edgelist: Convert between hypergraphs and graphs.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Convert a hypergraph to a graph or a graph, matrix or list to a hypergraph.

Usage

1
2

Arguments

h

a hypergraph.

Details

The function hypergraph_as_edgelist is just an alias for hyper_edges.

Value

A list of the hyperedges.

Author(s)

David J. Marchette dmarchette@gmail.com

See Also

as_edgelist

Examples

1
2
   h <- hypergraph_from_edgelist(list(1:4,1:2,c(2,3,5),c(3,5:7)))
	hypergraph_as_edgelist(h)

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

Related to as.edgelist in HyperG...