hexagonPT_verticles: [!] Calculate coordinates of pointy top (PT) hexagon...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/hexagonPT_verticles.R

Description

Calculate coordinates of each pointy top (PT) hexagon verticle (A, B, C, D, E, F) in respect to center coordinates O(x,y).

Usage

1
hexagonPT_verticles(x, y, r = NULL, l = NULL)

Arguments

x

hexagon center coordinates.

y

hexagon center coordinates.

r

radius of circle inscribed in hexagon. Default value is 0.5.

l

distance from the center to the upper/lower vertices of hexagon.

Value

Data frame with coordinates x and y (rows) of 6 verticles as variables: A (top) , B (left upper), C (left lower), D (bottom), E (right) lower and F (right upper).

Author(s)

Vilmantas Gegzna

See Also

Other SOM.and.hexagon.related.functions.in..pkg.spHelper.: hex_neighbour_dist, hex_neighbourhood_line_pos

Examples

1
2
3
4
5

GegznaV/kohonen.hexagons documentation built on May 6, 2019, 5:36 p.m.