Learn R Programming

bnstruct (version 1.0.15)

dag: get adjacency matrix of a network.

Description

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

Usage

dag(x)

# S4 method for BN dag(x)

Value

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

Arguments

x

an object.