Learn R Programming

oce (version 1.7-8)

latFormat: Format a latitude

Description

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

Usage

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

Value

A character string.

Arguments

lat

latitude in \(^\circ\)N north of the equator.

digits

the number of significant digits to use when printing.

Author

Dan Kelley

See Also

lonFormat() and latlonFormat().