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