dms2dd: dms2dd

View source: R/utils.R

dms2ddR Documentation

dms2dd

Description

Convert numeric coordinate vectors in degrees, minutes, and seconds to decimal degrees

Usage

dms2dd(x)

Arguments

x

numeric vector of length 3 corresponding to degrees, minutes, and seconds

Examples

dt <- rbind(c(25,12,53.66),c(-80,32,00.61))
apply(dt, 1, function(x) dms2dd(x))

wikilake documentation built on Jan. 7, 2023, 1:15 a.m.