Rdocumentation
powered by
Learn R Programming
BNDataGenerator (version 1.0)
is_DAG: Directed acyclic graphs
Description
This function tests whether the given graph is a DAG, a directed acyclic graph.
Usage
is_DAG(arcs_mat)
Arguments
arcs_mat
A matrix that determines the arcs.
Value
A logical vector of length one.
Details
is_dag checks whether there is a directed cycle in the graph. If not, the graph is a DAG.
See Also
is_acyclic