Learn R Programming

MAINT.Data (version 2.3.1)

EMControl: Constructor function for objects of class EMControl

Description

This function will create a control object of class '>EMControl containing the control parameters for the EM algorithm used in estimation of Gaussian mixtures by function Idtmclust.

Usage

EMControl(nrep=100, maxiter=1000, convtol=0.01, protol=1e-6, seed=NULL)

Arguments

nrep

Number of replications (different randomly generated starting points) of the EM algorithm.

maxiter

Maximum number of iterations in each replication of the EM algorithm.

convtol

Numeric tolerance for testing the convergence of the EM algorithm. Convergence is assumed when the log-likelihood changes less than convtol.

protol

Numeric tolerance for the mixture proportions. Proportions below protol, considered to be zero, are not allowed.

seed

Starting value for random generator.

Value

An EMControl object

See Also

Idtmclust