powered by
Given the posterior probability, generate a matrix to assign each individual to a class. The assignment is randomly sampled based on the posterior probability.
sstep(postpr)
(`matrix()`) The matrix of the posterior probability