Learn R Programming

geo (version 1.4-3)

geolocator: Locates points on a plot initialized by geoplot.

Description

The function locates points on a plot initialized by geoplot returning their latitude and longitude.

Usage

geolocator(type = "p", n = 0)

Arguments

type
Same parameter as in the locator function. Type = "l" draws line between points.
n
Number of points. Default value is zero, then the point coordinates are located till the mouse' middle button is clicked.

Value

A list with components $lat and $lon. or ($x, $y if geopar$projection = "none")

See Also

geoplot, locator, geodefine.