sstep: S-step of EM algorithm

View source: R/sstep.R

sstepR 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


em documentation built on Jan. 11, 2023, 9:07 a.m.