It performs discriminant analysis based on
posterior summary for (re-labeled) mixture
components in a model with fixed number of components fitted with
NMixMCMC function.
NMixPlugDA(object, y)an object of class NMixMCMC
vector, matrix or data frame with observations to be clustered
A data.frame with
columns labeled prob1,…, probp giving
plug-in estimates of probabilities of belonging to each component and a column
labeled component giving the index of the component with the
highest component probability.