flood(data, Nx=10, Ny=10, rlen=2000)som.n giving the index of the nearest neuron (Euclidean distance).(n+d+1)/2.(n+d+1)/2.(n+d+1)/2.som function within the som-package. The results are subsequently used to determine a robust subsample. Arguments Nx, Ny and rlen are passed to som. These arguments should be selected depending on the size of the data set (number of observations/dimensions). The larger the data set the larger the net size and the number of iterations should be. Note: At the moment only rectangular and quadratic SOM nets are supported.