Learn R Programming

icosa (version 0.10.0)

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

Run this code
# NOT RUN {
gr <- hexagrid(sp=TRUE)
plot(gr)
gridlabs(gr)
# }

Run the code above in your browser using DataLab