Learn R Programming

hypergraph (version 1.44.0)

DirectedHyperedge: Constructor for DirectedHyperedge objects

Description

A convenience constructor for DirectedHyperedge-class objects

Usage

DirectedHyperedge(head, tail, label = "")

Arguments

head
Character vector of nodes that are part of the head of the hyperedge
tail
Character vector of nodes that part of the tail of the hyperedge
label
A character string describing the directed hyperedge

Value

An object of class DirectedHyperedge-class

See Also

DirectedHyperedge-class Hyperedge-class Hypergraph-class