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

plot.som

Plot function for som-class


Description

Plot Kohonen's self-organizing maps.

Usage

## S3 method for class 'som'
plot(x, type = c("scatter", "mapping"), col = NULL, labels = FALSE, ...)

Arguments

x

The Kohonen's map (object of class som-class).

type

The type of plot.

col

Color of the data points

labels

A vector of character strings to be printed instead of points in the plot.

...

Other parameters.

See Also

Examples

require (datasets)
data (iris)
som = SOM (iris [, -5], xdim = 5, ydim = 5, post = "ward", k = 3)
plot (som) # Scatter plot (default)
plot (som, type = "mapping") # Kohonen map

fdm2id

Data Mining and R Programming for Beginners

v0.9.5
GPL-3
Authors
Alexandre Blansché [aut, cre]
Initial release

We don't support your browser anymore

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