mclustBIC
for a given set of model parameterizations and numbers of components.mclustModel(data, BICvalues, G, modelNames, ...)"mclustBIC" object,
which is the result of applying mclustBIC
to data.as.character(G) must be a subset of the row names of
BICvalues).
The default as.character(model) must be a subset of the column names of
BICvalues).
The default is to selez, and loglikelihood,
together with the associated classification and its uncertainty.The details of the output components are as follows:
mclustModelNames describes the available models.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.
mclustBICirisBIC <- mclustBIC(iris[,-5])
mclustModel(iris[,-5], irisBIC)
mclustModel(iris[,-5], irisBIC, G = 1:6, modelNames = c("VII", "VVI", "VVV"))Run the code above in your browser using DataLab