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 as named square matrix
Named square matrix or a formula statement specifying a directed acyclic graph. If NULL an empty network is assumed.
data frame with names corresponding to variable/node names.
Diagonals and cycles are not checked for ban-matrices. Defaults to FALSE.
not yet implemented