compact2full {BiDAG} | R Documentation |
This function transforms a compact 2-slice adjacency matrix of DBN into full T-slice adjacency matrix
compact2full(DBNmat, slices, b = 0)
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 |
an adjacency matrix of an unrolled DBN
compact2full(DBNmat, slices=5, b=3)