sstep {em}R Documentation

S-step of EM algorithm

Description

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

Usage

sstep(postpr)

Arguments

postpr

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


[Package em version 1.0.0 Index]