Revision f3e3fdb52f3559c148c60ae0a9fc713d3f196575 authored by Bettina Gruen on 20 December 2010, 00:00:00 UTC, committed by Gabor Csardi on 20 December 2010, 00:00:00 UTC
1 parent 1760c73
FLXcontrol-class.Rd
%
% Copyright (C) 2004-2008 Friedrich Leisch and Bettina Gruen
% $Id: FLXcontrol-class.Rd 4411 2009-09-23 15:03:19Z gruen $
%
\name{FLXcontrol-class}
\docType{class}
\alias{FLXcontrol-class}
\alias{coerce,list,FLXcontrol-method}
\alias{coerce,NULL,FLXcontrol-method}
\title{Class "FLXcontrol"}
\description{Hyperparameters for the EM algorithm.}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{new("FLXcontrol",
...)}. In addition, named lists can be coerced to \code{FLXcontrol}
objects, names are completed if unique (see examples).
}
\section{Slots}{
\describe{
\item{\code{iter.max}:}{Maximum number of iterations.}
\item{\code{minprior}:}{Minimum prior probability of clusters,
components falling below this threshold are removed during the
iteration.}
\item{\code{tolerance}:}{The EM algorithm is stopped when the
(relative) change of log-likelihood is smaller than \code{tolerance}.}
\item{\code{verbose}:}{If a positive integer, then the
log-likelihood is reported every \code{verbose} iterations. If 0,
no output is generated during model fitting.}
\item{\code{classify}:}{Character string, one of \code{"auto"},
\code{"weighted"}, \code{"hard"} (or \code{"CEM"}),
\code{"random"} or (\code{"SEM"}).}
\item{\code{nrep}:}{Reports the number of random initializations
used in \code{\link{stepFlexmix}()} to determine the mixture.}
}
Run \code{new("FLXcontrol")} to see the default settings of all slots.
}
\author{Friedrich Leisch and Bettina Gruen}
\keyword{classes}
\examples{
## have a look at the defaults
new("FLXcontrol")
## corce a list
mycont = list(iter=200, tol=0.001, class="r")
as(mycont, "FLXcontrol")
}
Computing file changes ...