Set up a grid of units, of a specified size and topology.Wrapper of kohonen::somgrid.
Usage
geosomgrid(
xdim,
ydim,
topo = "hexagonal",
neighbourhood.fct = "gaussian",
toroidal = FALSE
)Arguments
- xdim
X dimensions of the grid
- ydim
Y dimensions of the grid.
- topo
(optional)Choose between a
hexagonalorrectangulartopology,default ishexagonal.- neighbourhood.fct
(optional)Choose between
bubbleandgaussianneighbourhoods when training a GeoSOM."bubble" or "gaussian"(default).- toroidal
(optional)Logical, whether the grid is
toroidalor not.Default isFALSE.
Author
Wenbo Lv lyu.geosocial@gmail.com