powered by
Define function to transform a matrix of modalities into matrix of binary data
matrix2binary(x)
a matrix of binary data.
a matrix