Convert decimal degree coordinates to degrees, minutes, and seconds.
dd2dms(x)
Arguments
x |
numeric vector of length 1 corresponding to decimal degrees |
Examples
dd <- 25.31015
dd2dms(dd)
#> [1] 25.00 18.00 36.54
dd <- -80.37198
dd2dms(dd)
#> [1] -80.000 22.000 19.128