check.valid.dag {abn} | R 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

[Package

*abn*version 3.1.1 Index]