check.valid.dag: Set of simple commonsense validity checks on the directed...

View source: R/abn-internal.R

check.valid.dagR Documentation

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
)

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

Value

dag as named square matrix


abn documentation built on Nov. 3, 2023, 5:08 p.m.