A simple function to perform Model based cluster Analysis
:
Usage
ModelCluster(Data, NewData = NULL, G, ...)
Arguments
Data
(dataframe) Data dataframe
NewData
(optional) (dataframe) New Data frame for which the class membership is requested
G
(optional) (numeric) No. of components to verify
...
(optional) additional arguments for the function
Value
class membership of the clustered NewData
Details
The function implements Model based clustering in predictive framework. Model based clustering approaches provide a
structured way of choosing number of clusters (C. Fraley & Raftery, 1998).
Data are considered to be generated from a set of Gaussian distributions (components or clusters)
i.e. as a mixture of these components (mixture models). Instead of using heuristics, model based
clustering approximates Bayes factor (utilizing Bayesian information Criterion) to determine the model
with the highest evidence (as provided by the data).