Learn R Programming

bnstruct (version 1.0.15)

dag<-: set adjacency matrix of an object.

Description

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

Usage

dag(x) <- value

# S4 method for BN dag(x) <- value

Arguments

x

an object.

value

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