update_mixture_components: Update the components of the mixture

View source: R/AMIS_steps.R

update_mixture_componentsR Documentation

Update the components of the mixture

Description

This function updates the mixture components according to the current mixture mixture generated at iteration t.

Usage

update_mixture_components(mixture, components, t)

Arguments

mixture

A list of mixture components as returned by fit_mixture

components

A list of mixture components made of

G

A numeric vector containing the number of components from each AMIS iteration

Sigma

A list of covariance matrices for each component

Mean

A list of means for each component

probs

A list probability weights for each component

t

The current iteration index (integer)

Value

The updated components list

See Also

evaluate_mixture, fit_mixture


OxfordRSE/trachomAMIS documentation built on Aug. 1, 2022, 10:21 p.m.