dms2dd: Converts coordinates in degrees, minutes, seconds into...

Description Usage Arguments Value Author(s) See Also Examples

Description

Converts coordinates in degrees, minutes, seconds into decimal degrees. These can be latitude or longitude.

Usage

1
dms2dd(dd, mm, ss, ns)

Arguments

dd

degrees of latitude or longitude

mm

minutes of latitude or longitude

ss

seconds of latitude or longitude

ns

letters (N,S,E,W)

Value

returns decimal degrees

Author(s)

Mark Robertson

See Also

dd2dmslat, dd2dmslong, dmsparse, dmsabs

Examples

1
2
3
4
5
dd<-c(23,45,34)
mm<-c(45,34,22)
ss<-c(2,56,10)
ns<-c("E","W","N")
dms2dd(dd,mm,ss,ns)

Example output



biogeo documentation built on May 1, 2019, 8:05 p.m.