powered by
This function will show where the grid elements are located.
gridlabs(gridObj, type = "f", crs = NULL, ...)
The function has no return value.
(trigrid, hexagrid) An icosahedral grid.
trigrid
hexagrid
(character) The type of element to be plotted: either "f" (faces), "v" (vertices) or "e" (edges).
character
"f"
"v"
"e"
(character or crs) A coordinate system for the transformation of coordinates.
crs
Arguments passed to the text function.
text
gr <- hexagrid(sp=TRUE) plot(gr) gridlabs(gr)
Run the code above in your browser using DataLab