Hexagons: Function to draw an hexagonal SOM map

Description Usage Arguments Value Author(s) References Examples

Description

Draws an hexagonal SOM map using x, y coordinates for the hexagon centers

Usage

1
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

1
2
Coord<-CodeCoord(10,5)
Hexagons(Coord,10,5)

SOMEnv documentation built on July 26, 2021, 5:06 p.m.

Related to Hexagons in SOMEnv...