A plot of the values of the chosen criterion. The values themselves can also be returned invisibly.
Arguments
res
An object of class "MoEClust" generated by MoE_clust, or an object of class "MoECompare" generated by MoE_compare. Models with a noise component are facilitated here too.
criterion
The criterion to be plotted. Defaults to "bic". Recall that MoE_control only allows "bic", "icl", and "aic" to be used as model selection criteria within MoE_clust. The same applies to MoE_control. Uppercase crit will be coerced to lowercase.
...
Catches other arguments, or additional arguments to be passed to plot.mclustBIC (or equivalent functions for the other criterion arguments). In particular, the argument legendArgs to plot.mclustBIC can be passed.
# data(ais)# res <- MoE_clust(ais[,3:7], expert= ~ sex, network.data=ais)# (crit <- MoE_plotCrit(res))# Plots can also be produced directly# plot(res$ICL)