alldirected: Transform to Directed Graph

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

Description

Returns a "mathgraph" object which has all edges directed.

Usage

1

Arguments

x

an object representing a mathematical graph.

...

other arguments for derived functions.

Details

The default method merely creates an error.

Value

A "mathgraph" object with any undirected edges in the input split into two arcs.

Author(s)

Nick Efthymiou

References

S Poetry, Patrick J. Burns, Section 13.3, p. 305

See Also

mathgraph

Examples

1
2
my.graph <- mathgraph(~ 1:3 / 2:4) # undirected graph with 3 edges
alldirected(my.graph) # directed graph with 6 arcs

ClausDethlefsen/mathgraph documentation built on May 25, 2019, 1:36 p.m.