Learn R Programming

geo (version 1.4-3)

adapt: Adapts geographical positions

Description

Adapts geographical positions for further geo-use.

Usage

adapt(reg.lat, reg.lon, projection = "Mercator")

Arguments

reg.lat
Latitude or y-coordinate
reg.lon
Longitude or x-coordinate
projection
Projection, default "Mercator", "none" denotes x/y coordinates

Value

Returns a list of either:
x, y
x- and y-positions
or:
lat, lon
Latitude and longitude
and:
lxv
index of uninterupted/contiguous positions