This function plots the result of mixture model selection by BIC.
Usage
# S3 method for selectEM
plot(x, leg.loc = "topright", ...)
Arguments
x
an object of class selectEM, which is an output of the function select.
leg.loc
the location of the legend, which is the same as the first argument of the function
...
other arguments passed to plotlegend. The default value is "topright". The user can change its location
(to "topleft", "bottom right" etc.) if the visual plot conflicts with the legend.
Details
The function plot.selectEM is the plot method for the class selectEM. It plots
the number of components against the corresponding value of BIC. It is used to visually display
the mixture model selection result by BIC.