is_dag {teal.data}R Documentation

Checks whether a graph is a ⁠Directed Acyclic Graph (DAG)⁠

Description

Checks whether a graph is a ⁠Directed Acyclic Graph (DAG)⁠

Usage

is_dag(graph)

Arguments

graph

(⁠named list⁠) with node vector elements

Value

logical(1) TRUE if the graph is a DAG; FALSE otherwise


[Package teal.data version 0.6.0 Index]