| som_clas | R Documentation | 
som_clas allows to perform a SOM synoptic classification
som_clas(
  x,
  xdim,
  ydim,
  iter = 2000,
  alpha = c(0.05, 0.01),
  dist.fcts = "euclidean",
  mode = "online",
  cores = 1,
  norm = T
)
x | 
 data.frame. A data.frame with the following variables:   | 
xdim | 
 Integer. X dimension of the grid. See   | 
ydim | 
 Integer. Y dimension of the grid. See   | 
iter | 
 integer. Number of iterations.  | 
alpha | 
 vector. learning rate. See   | 
dist.fcts | 
 character. vector of distance functions to be used for the individual data layers. See   | 
mode | 
 carachter. type of learning algorithm. Default "on-line". See   | 
cores | 
 Integer. Parallel processing only available for "pbatch" algorithm.  | 
norm | 
 logical. Default   | 
A list with:
A data.frame containing the dates and the weather types.
A data frame containing the gridded data grouped by circulation types.
An object of class kohonen with all the components returned by the function som
Wehrens, R. and BuydenL. (2007) Self- and Super-organizing Maps in R: The kohonen Package Journal of Statistical Software, 21(5), 1 - 19.
as_synoptReg
# Load data
data(z500)
# SOM classification
som_cl <- som_clas(z500, xdim = 4, ydim = 4, iter = 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.