compact2full: Deriving an adjecency matrix of a full DBN

View source: R/DBNfns.R

compact2fullR Documentation

Deriving an adjecency matrix of a full DBN

Description

This function transforms a compact 2-slice adjacency matrix of DBN into full T-slice adjacency matrix

Usage

compact2full(DBNmat, slices, b = 0)

Arguments

DBNmat

a square matrix, representing initial and transitional structure of a DBN; the size of matrix is 2*dyn+b

slices

integer, number of slices in an unrolled DBN

b

integer, number of static variables

Value

an adjacency matrix of an unrolled DBN

Examples

compact2full(DBNmat, slices=5, b=3)

BiDAG documentation built on May 31, 2023, 6:46 p.m.

Related to compact2full in BiDAG...