Learn R Programming

bnstruct (version 1.0)

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)
"dag"(x)

Arguments

x
an object.

Value

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