Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gridlabs

Labels of grid vertices, faces and edges.


Description

This function will show where the grid elements are located.

Usage

gridlabs(gridObj, type = "f", projargs = NULL, ...)

Arguments

gridObj

(trigrid, hexagrid) An icosahedral grid.

type

(character) The type of element to be plotted: either "f" (faces), "v" (vertices) or "e" (edges).

projargs

(character or CRS) A projection string for the transformation fo coordinates.

...

Arguments passed to the text function.

Value

The function has no return value.

Examples

gr <- hexagrid(sp=TRUE)
plot(gr)
gridlabs(gr)

icosa

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

v0.10.1
GPL-3
Authors
Adam T. Kocsis [aut, cre]
Initial release
2021-01-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.