Learn R Programming

oce (version 0.1-76)

latlon.format: Format a latitude-longitude pair

Description

Format a latitude-longitude pair, using "S" for negative latitudes, etc.

Usage

latlon.format(lat, lon)

Arguments

lat
latitude in $^\circ$N north of the equator.
lon
longitude in $^\circ$N east of Greenwich.

Value

  • A character string.

See Also

lat.format and lon.format.