This function implements the batch version of the kohonen algorithm
1 2 3 4 
data 
data to be used 
grid 
a grid for the representatives.The numbers of nodes should be approximately equal to 5*sqrt(n), which n denotes the number of sample. 
min.radius 
the minimum neighbourhood radius 
max.radius 
the maximum neighbourhood radius 
maxit 
the maximum number of iterations to be done 
init 
the method to be used to initialize the prototypes.The following
are permitted:

radius.type 
the neighborhood function type. The following are permitted:

classif 
a vector of integer indicating to which unit each observation has been assigned 
codes 
a matrix of code vectors 
grid 
the grid, an object of class "somgrid" 
Sarra Chair and Malika Charrad
Kohonen, T. (1995) SelfOrganizing Maps. SpringerVerlag.
Brian Ripley, William Venables (2015), class: Functions for Classification,
URL https://cran.rproject.org/package=class.
Jun Yan (2010), som: SelfOrganizing Map, URL https://cran.rproject.org/package=som.
1 2 3 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.