Learn R Programming

abn (version 3.1.1)

check.valid.dag: Set of simple commonsense validity checks on the directed acyclic graph definition matrix

Description

Set of simple commonsense validity checks on the directed acyclic graph definition matrix

Usage

check.valid.dag(
  dag = NULL,
  data.df = NULL,
  is.ban.matrix = FALSE,
  group.var = NULL
)

Value

dag as named square matrix

Arguments

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