The flexmix Package - NexTag Supports Open Source Initiatives
The flexmix Package - NexTag Supports Open Source Initiatives
The flexmix Package - NexTag Supports Open Source Initiatives
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
10 FLXdist-class<br />
Slots<br />
iter.max: Maximum number of iterations.<br />
minprior: Minimum prior probability of clusters, components falling below this threshold are<br />
removed during the iteration.<br />
tolerance: <strong>The</strong> EM algorithm is stopped when the (relative) change of log-likelood is smaller<br />
than tolerance.<br />
verbose: If a positive integer, then the log-likelihood is reported every verbose iterations. If<br />
0, no output is generated during model fitting.<br />
classify: Character string, one of "auto", "weighted", "hard" (or "CEM"), "random"<br />
or ("SEM").<br />
nrep: Reports the number of random initializations used in stepFlexmix() to determine the<br />
mixture.<br />
Run new("FLXcontrol") to see the default settings of all slots.<br />
Author(s)<br />
Friedrich Leisch and Bettina Gruen<br />
Examples<br />
## have a look at the defaults<br />
new("FLXcontrol")<br />
## corce a list<br />
mycont = list(iter=200, tol=0.001, class="r")<br />
as(mycont, "FLXcontrol")<br />
FLXdist-class<br />
Class "FLXdist"<br />
Description<br />
Objects of class FLXdist represent unfitted finite mixture models.<br />
Usage<br />
## S4 method for signature 'FLXdist':<br />
parameters(object, component=NULL, model=NULL, simplify=TRUE,<br />
drop=TRUE)<br />
## S4 method for signature 'FLXdist':<br />
predict(object, newdata=list(), aggregate=FALSE, ...)