File: somgrid.Rd

package info (click to toggle)
r-cran-class 7.3-4-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 224 kB
  • sloc: ansic: 375; makefile: 1
file content (47 lines) | stat: -rw-r--r-- 1,294 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% file class/man/somgrid.Rd
% copyright (C) 2002 W. N. Venables and B. D. Ripley
%
\name{somgrid}
\alias{somgrid}
\alias{plot.somgrid}
\alias{plot.SOM}
\title{
Plot SOM Fits
}
\description{
  Plotting functions for SOM results.
}
\usage{
somgrid(xdim = 8, ydim = 6, topo = c("rectangular", "hexagonal"))

\method{plot}{somgrid}(x, type = "p", ...)

\method{plot}{SOM}(x, ...)
}
\arguments{
  \item{xdim, ydim}{dimensions of the grid}
  \item{topo}{the topology of the grid.}
  \item{x}{an object inheriting from class \code{"somgrid"} or \code{"SOM"}.}
  \item{type, \dots}{graphical parameters.}
}
\value{
  For \code{somgrid}, an object of class \code{"somgrid"}, a list with
  components
  \item{pts}{a two-column matrix giving locations for the grid points.}
  \item{xdim, ydim, topo}{as in the arguments to \code{somgrid}.}
}
\details{
  The class \code{"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 \code{"SOM"} plots a \code{\link{stars}}
  plot of the representative at each grid point.
}
\references{
  Venables, W. N. and Ripley, B. D. (2002)
  \emph{Modern Applied Statistics with S.} Fourth edition.  Springer.
}
\seealso{
  \code{\link{batchSOM}}, \code{\link{SOM}}
}
\keyword{classif}