Converts label vector to 0/1 mixture weight matrix
Converts unique cluster assignment stored in a length N label vector into a N \times K Boolean matrix of mixture weights.
a vector of length N with the state labels
total number of states. If
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.