Learn R Programming

hyperdraw (version 1.24.0)

graphBPH: Constructor for graphBPH objects

Description

A convenience constructor for graphBPH-class objects. This is a generic function.

Usage

graphBPH(graph, edgeNodePattern, ...)

Arguments

graph
Some form of graph that is to be converted into a graphBPH object.
edgeNodePattern
A regular expression used to distinguish between normal nodes and edge nodes.
...
Potential arguments to other methods.

Value

An object of class graphBPH-class

Methods

graphBPH
signature(graph = "graphNEL", edgeNodePattern = "character"): create a graphBPH object from a (directed) graphNEL object.
graphBPH
signature(graph = "Hypergraph", edgeNodePattern = "missing"): create a graphBPH object from a Hypergraph object (where all Hyperedges are DirectedHyperedges).

References

Falcon, S. and Gentleman, R. hypergraph: A package providing hypergraph data structures.

Gentleman, R. and Whalen, E. and Huber, W. and Falcon, S. graph: A package to handle graph data structures.

See Also

graphBPH-class