compact2full | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.