Is an object a valid stratigraphic graph?

strat_is_valid(stratigraph, warn = TRUE)

Arguments

stratigraph

A stratigraph object (see stratigraph()).

warn

Display warnings for invalid graphs? Default: TRUE.

Value

TRUE or FALSE.

Details

Checks whether a stratigraph object is a valid stratigraphic graph. Currently looks for:

  • Whether the graph contains cycles