compact2full {BiDAG}R 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)

[Package BiDAG version 2.1.4 Index]