Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NMixPlugDA

Discriminant analysis based on plug-in estimates from the mixture model


Description

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.

Usage

NMixPlugDA(object, y)

Arguments

object

an object of class NMixMCMC

y

vector, matrix or data frame with observations to be clustered

Value

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.

Author(s)

See Also


mixAK

Multivariate Normal Mixture Models and Mixtures of Generalized Linear Mixed Models Including Model Based Clustering

v5.3
GPL (>= 3)
Authors
Arnošt Komárek <arnost.komarek@mff.cuni.cz>
Initial release
2020-06-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.