latlonFormat {oce} | R Documentation |
Format a Latitude-Longitude Pair
Description
Format a latitude-longitude pair, using "S" for negative latitudes, etc.
Usage
latlonFormat(lat, lon, digits = max(6, getOption("digits") - 1))
Arguments
lat |
latitude in |
lon |
longitude in |
digits |
the number of significant digits to use when printing. |
Value
A character string.
Author(s)
Dan Kelley
See Also
latFormat()
and lonFormat()
.
[Package oce version 1.8-2 Index]