The function returns which grid faces contain the points clicked in a plot.
cellocator(gridObj, n, output = "faces", ...)A vector of character values, each corresponding to a face identifier.
(trigrid or hexagrid) The grid object.
(integer) The number of points to be looked up.
(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.