deg2dmm | R Documentation |
Converts from one latitude-longitude numeric format to another.
deg2dmm(x)
dmm2deg(x)
deg2dms(x)
dms2deg(x)
x |
Numeric vector. |
deg2dmm()
: Convert from decimal degree to degree-decimal minute format.
dmm2deg()
: Convert from degree-decimal minute to decimal degree format.
deg2dms()
: Convert from decimal degree to degree-minute-second format.
dms2deg()
: Convert from degree-minute-second to decimal degree format.
loran2deg
, deg2grid
, deg2str
# Degree decimal-minute conversions:
deg2dmm(66.5) # Returns 6630.00
dmm2deg(6630) # Returns 66.5
dmm2deg(663000) # Returns 66.5
deg2dmm(60+5*runif(100)) # Convert 100 random coordinates to DMM format.
# Degree-minute-second conversions:
deg2dms(-66.5) # Returns -663000
dms2deg(-663000) # Returns -66.5
deg2dms(60+5*runif(100)) # Convert 100 random coordinates to DMS format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.