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, A. E. Raftery, T. B. Murphy and L. Scrucca (2012). mclust Version 4 for R: Normal Mixture Modeling for Model-Based Clustering, Classification, and Density Estimation. Technical Report No. 597, Department of Statistics, University of Washington.
mclustBIC
irisBIC <- 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