check.valid.dag {abn} | R Documentation |
Set of simple commonsense validity checks on the directed acyclic graph definition matrix
check.valid.dag(
dag = NULL,
data.df = NULL,
is.ban.matrix = FALSE,
group.var = NULL
)
dag |
Named square matrix or a formula statement specifying a directed acyclic graph. If NULL an empty network is assumed. |
data.df |
data frame with names corresponding to variable/node names. |
is.ban.matrix |
Diagonals and cycles are not checked for ban-matrices. Defaults to FALSE. |
group.var |
not yet implemented |
dag as named square matrix