Plot function for som-class
Plot Kohonen's self-organizing maps.
## S3 method for class 'som' plot(x, type = c("scatter", "mapping"), col = NULL, labels = FALSE, ...)
x |
The Kohonen's map (object of class |
type |
The type of plot. |
col |
Color of the data points |
labels |
A |
... |
Other parameters. |
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
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.