latlon.format {oce} | R Documentation |
Format a latitude-longitude pair, using "S" for negative latitudes, etc.
latlon.format(lat, lon, digits=max(6, getOption("digits") - 1))
lat |
latitude in degN north of the equator. |
lon |
longitude in degN east of Greenwich. |
digits |
the number of significant digits to use when printing. |
A character string.
Dan Kelley
lat.format
and lon.format
.