Convert a binary adjacency matrix with missing value to a cube

to_multinomial(X)

Arguments

X

A binary adjacency matrix with NA

Value

a cube