prettyPosition | R Documentation |
Round a geographical positions in degrees, minutes, and seconds
Depending on the range of values in x
, rounding is done to degrees,
half-degrees, minutes, etc.
prettyPosition(x, debug = getOption("oceDebug"))
x |
a series of one or more values of a latitude or longitude, in decimal degrees |
debug |
set to a positive value to get debugging information during processing. |
A vector of numbers that will yield good axis labels if
formatPosition()
is used.
Dan Kelley
library(oce) formatPosition(prettyPosition(10+1:10/60+2.8/3600))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.