Learn R Programming

hypergraph (version 1.44.0)

Hypergraph: Constructor for Hypergraph objects

Description

A convenience constructor for link{Hypergraph-class} objects

Usage

Hypergraph(nodes, hyperedges)

Arguments

nodes
A vector of nodes (character)
hyperedges
A list of Hyperedge-class objects

Value

An object of class Hypergraph-class

See Also

Hypergraph-class Hyperedge-class DirectedHyperedge-class