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 (matrix or data.frame).

xdim, ydim

The dimensions of the grid.

rlen

The number of iterations.

post

The post-treatement method: "none" (None), "single" (Single link) or "ward" (Ward clustering).

k

The number of cluster (only used if post is different from "none").

...

Other parameters.

Value

The fitted Kohonen's map as an object of class som.

See Also

plot.som, som-class, som

Examples

require (datasets)
data (iris)
SOM (iris [, -5], xdim = 5, ydim = 5, post = "ward", k = 3)

[Package fdm2id version 0.9.9 Index]