Rdocumentation
powered by
Learn R Programming
oce (version 0.1-82)
latlon.format: Format a latitude-longitude pair
Description
Format a latitude-longitude pair, using "S" for negative latitudes, etc.
Usage
latlon.format(lat, lon, digits=max(6, getOption("digits") - 1))
Arguments
lat
latitude in $^\circ$N north of the equator.
lon
longitude in $^\circ$N east of Greenwich.
digits
the number of significant digits to use when printing.
Value
A character string.
See Also
lat.format
and
lon.format
.