dms: Convert decimal degrees to degree, minutes, seconds

Description Usage Arguments Value Author(s) Examples

View source: R/dms.R

Description

Convert decimal degrees to degree, minutes, seconds

Usage

1
dms(d1)

Arguments

d1

decomal degrees

Value

list

d

degrees

m

minutes

s

seconds

Author(s)

Jonathan M. Lees<[email protected]>

Examples

1
2
3
4
5
6
7
8
dms(33.12345)

H = dms(-91.8765)

print(H)

newH = H$d+H$m/60+H$s/3600
print(newH)

GEOmap documentation built on Jan. 20, 2018, 9:27 a.m.