dag-set: set adjacency matrix of an object.

dag<-R Documentation

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 replacement method for signature '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.


bnstruct documentation built on Dec. 1, 2022, 1:22 a.m.