powered by
Coordinates of neurons of a som are calculated by calling somgrid to be consistent with other som/kohonen packages.
somgrid
make.codes.grid(xdim, ydim, topo = "hexagonal")