mclustBIC function.## S3 method for class 'mclustBIC':
plot(x, G = NULL, modelNames = NULL, 
     symbols = NULL, colors = NULL, 
     xlab = NULL, ylab = "BIC", ylim = NULL,
     legendArgs = list(x = "bottomright", ncol = 2, cex = 1, inset = 0.01), 
     ...)mclustBIC.x.
    The default is to plot the BIC for all of the numbers of components fit.x.
    The default is to plot the BIC for all of the models fit.classification. Elements in colors
    correspond to classes in order of appearance in the sequence of
    observations (the order usedclassification. Elements in colors
    correspond to classes in order of appearance in the sequence of
    observations (the order used by the fulegend function. Set to NULL
    for no legend.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.
mclustBICplot(mclustBIC(precip), legendArgs =  list(x = "bottomleft"))
plot(mclustBIC(faithful))
plot(mclustBIC(iris[,-5]))Run the code above in your browser using DataLab