SOM {fdm2id} | R Documentation |
Self-Organizing Maps clustering method
Description
Run the SOM algorithm for clustering.
Usage
SOM(
d,
xdim = floor(sqrt(nrow(d))),
ydim = floor(sqrt(nrow(d))),
rlen = 10000,
post = c("none", "single", "ward"),
k = NULL,
...
)
Arguments
d |
The dataset ( |
xdim , ydim |
The dimensions of the grid. |
rlen |
The number of iterations. |
post |
The post-treatement method: |
k |
The number of cluster (only used if |
... |
Other parameters. |
Value
The fitted Kohonen's map as an object of class som
.
See Also
Examples
require (datasets)
data (iris)
SOM (iris [, -5], xdim = 5, ydim = 5, post = "ward", k = 3)
[Package fdm2id version 0.9.9 Index]