abnDag
Beside some basic checks, this function also checks for square matrix with no undirected cycles (trivial cycles) and for no undirected cycles.
validate_abnDag(dag, data.df = NULL, returnDag = TRUE, ...)
Either TRUE/FALSE or DAG as matrix.
dag is either a formula, a matrix or an object of class 'abnDag'
data frame
if TRUE (default) returns DAG as matrix.
additional arguments.
Similar to check.valid.dag()
.