validate_abnDag {abn} | R Documentation |
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, ...)
dag |
dag is either a formula, a matrix or an object of class 'abnDag' |
data.df |
data frame |
returnDag |
if TRUE (default) returns DAG as matrix. |
... |
additional arguments. |
Similar to check.valid.dag()
.
Either TRUE/FALSE or DAG as matrix.