lat.format {oce}R Documentation

Format a latitude

Description

Format a latitude, using "S" for negative latitude.

Usage

lat.format(lat, digits=max(6, getOption("digits") - 1))

Arguments

lat latitude in degN north of the equator.
digits the number of significant digits to use when printing.

Value

A character string.

Author(s)

Dan Kelley

See Also

lon.format and latlon.format.


[Package oce version 0.1-80 Index]