Convert a binary adjacency matrix with missing value to a cube
to_multinomial(X)
X
a cube
Useful links