Plotting functions for SOM results.
somgrid(xdim = 8, ydim = 6, topo = c("rectangular", "hexagonal"))# S3 method for somgrid
plot(x, type = "p", ...)
# S3 method for SOM
plot(x, ...)
dimensions of the grid
the topology of the grid.
an object inheriting from class "somgrid"
or "SOM"
.
graphical parameters.
For somgrid
, an object of class "somgrid"
, a list with
components
a two-column matrix giving locations for the grid points.
as in the arguments to somgrid
.
The class "somgrid"
records the coordinates of the grid to be
used for (batch or on-line) SOM: this has a plot method.
The plot method for class "SOM"
plots a stars
plot of the representative at each grid point.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.