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