Skip to contents

Produces a graph.

Usage

as_graph(from, ...)

# S4 method for IntervalMatrix
as_graph(from)

# S4 method for StratigraphicMatrix
as_graph(from)

Arguments

from

A square adjacency matrix (typically an AdjacencyMatrix object).

...

Currently not used.

Value

An igraph graph object.

Methods (by class)

  • as_graph(IntervalMatrix): Produces an interval graph.

  • as_graph(StratigraphicMatrix): Produces a stratigraphic graph.

Interval Graph

An interval graph is the graph showing intersecting intervals on a line. As time is linear and not circular, an interval graph contains no cycles with more than three edges and no shortcuts.

Author

N. Frerebeau