Hexagons {SOMEnv} | R Documentation |
Function to draw an hexagonal SOM map
Description
Draws an hexagonal SOM map using x, y coordinates for the hexagon centers
Usage
Hexagons(Coords, Row, Col, color = NA, border = "gray", unitcell = 1)
Arguments
Coords |
matrix containing the x and y coordinates of the hexagon centers |
Row |
Number of SOM map rows |
Col |
Number of SOM map columns |
color |
Filling color of the hexagons (default NA) |
border |
Border color of the hexagons (default "gray") |
unitcell |
The distance side to side between two parallel sides of the hexagon (default 1) |
Value
A hexagonal SOM map
Author(s)
Sabina Licen
References
Licen, S., Cozzutto, S., Barbieri, P. (2020) Aerosol Air Qual. Res., 20 (4), pp. 800-809. DOI: 10.4209/aaqr.2019.08.0414
Examples
Coord<-CodeCoord(10,5)
Hexagons(Coord,10,5)
[Package SOMEnv version 1.1.2 Index]