postprobFromAssignments function

Create a posterior probability matrix from a vector of cluster assignments.