mclust (version 3.4.7)

mclustOptions: Set default values for use with MCLUST.

Description

Supplies a list of values an enumeration of models for use with MCLUST.

Usage

mclustOptions(emModelNames=NULL, hcModelNames=NULL, 
              bicPlotSymbols=NULL, bicPlotColors=NULL, 
              classPlotSymbols=NULL, classPlotColors=NULL, warn=TRUE)

Arguments

emModelNames
A vector of 3-character strings that are associated with multivariate models for which EM estimation is available in MCLUST. The current default is all of the multivariate mixture models supported in MCLUST. The help file for <
hcModelNames
A vector of character strings associated with multivariate models for which model-based hierarchical clustering is available in MCLUST. The current default is the following list: "EII": spherical, equal volume "VII": spherical, unequal volume "EEE
bicPlotSymbols
A vector whose entries are either integers corresponding to graphics symbols or single characters for plotting BIC curves. The default is c(EII=17,VII=2,EEI=16,EVI=10,VEI=13,VVI=1, EEE=15,EEV=12,VEV=7,VVV=0,E=17,V=2).
bicPlotColors
A vector whose entries are either integers corresponding to colors to BIC curves. c(EII="gray",VII="black", EEI="orange",EVI="brown",VEI="red",VVI="magenta", EEE="forestgreen",EEV="green",VEV="cyan",VVV="blue",
classPlotSymbols
A vector whose entries are either integers corresponding to graphics symbols or single characters for plotting for classifications. Classes are assigned symbols in the given order. The default is c(17,0,10,4,11,18,6,7,3,16,2,12,8,15,1,9,
classPlotColors
A vector whose entries are either integers corresponding to graphics symbols or single characters for plotting for classifications. Classes are assigned symbols in the given order. The default is "blue", "red", "green", "cyan", "magenta
warn
A logical value allowing some types of warnings to be turned on or off globally. Most of these warnings have to do with situations in which singularities are encountered. The default is warn = TRUE.

Value

  • A named list in which the names are the names of the arguments and the values are the values supplied to the arguments.

References

C. Fraley and A. E. Raftery (2002). Model-based clustering, discriminant analysis, and density estimation. Journal of the American Statistical Association 97:611-631.

C. Fraley and A. E. Raftery (2006). MCLUST Version 3 for R: Normal Mixture Modeling and Model-Based Clustering, Technical Report no. 504, Department of Statistics, University of Washington.

Details

mclustOptions is provided for assigning values to the .Mclust list, which is used to supply default values to various functions in MCLUST. Calls to mclustOptions do not in themselves affect the outcome of computations.

See Also

.Mclust, emControl

Examples

Run this code
irisBIC <- mclustBIC(iris[,-5])
summary(irisBIC, iris[,-5])

.Mclust
.Mclust <- mclustOptions(emModelNames = c("VII", "VVI", "VVV"))
.Mclust

irisBIC <- mclustBIC(iris[,-5])
summary(irisBIC, iris[,-5])

.Mclust <- mclustOptions() # restore default values
.Mclust

Run the code above in your browser using DataCamp Workspace