Learn R Programming

em (version 1.0.0)

cstep: C-Step of EM algorithm

Description

Given the posterior probability, generate a matrix to assign each individual to a class. The assignment is based on which probability is the largest.

Usage

cstep(postpr)

Arguments

postpr

(`matrix()`)
The matrix of the posterior probability