m_step: M-step

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Estimates the π vector that maximizes the posterior expectation function from the E-step.

Usage

1
m_step(old_B)

Arguments

old_B

matrix of posterior expectations/probabilities (e.g. from an E-step).

Value

A row vector estimating the proportion of observations coming from each association pattern.


kjgleason/primo documentation built on Sept. 7, 2021, 5:21 p.m.