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

cellocator

Locate grid faces based on their positions on a map


Description

The function returns which grid faces contain the points clicked in a plot.

Usage

cellocator(gridObj, n, output = "faces", ...)

Arguments

gridObj

(trigrid or hexagrid) The grid object.

n

(integer) The number of points to be looked up.

output

(character) Type of output: "faces" returns only the face names of the points, "full" returns the coordinates as well.

...

Arguments passed to the locator function.

Value

A vector of character values, each corresponding to a face identifier.


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.