EM {fdm2id} | R Documentation |
Expectation-Maximization clustering method
Description
Run the EM algorithm for clustering.
Usage
EM(d, clusters, model = "VVV", ...)
Arguments
d |
The dataset ( |
clusters |
Either an integer (the number of clusters) or a ( |
model |
A character string indicating the model. The help file for |
... |
Other parameters. |
Value
A clustering model obtained by EM.
See Also
Examples
require (datasets)
data (iris)
EM (iris [, -5], 3) # Default initialization
km = KMEANS (iris [, -5], k = 3)
EM (iris [, -5], km$cluster) # Initialization with another clustering method
[Package fdm2id version 0.9.9 Index]