dag: get adjacency matrix of a network.

Description Usage Arguments Value

Description

Return the adjacency matrix of the directed acyclic graph representing the structure of a network.

Usage

1
2
3
4
dag(x)

## S4 method for signature 'BN'
dag(x)

Arguments

x

an object.

Value

matrix containing the adjacency matrix of the directed acyclic graph representing the structure of the object.


bnstruct documentation built on July 2, 2020, 2:26 a.m.