hzar.map.dms2deg: Convert degrees, minutes, seconds, direction to degrees.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/21-latLongPrep.R

Description

This method converts angular measurements from degree, minute, second, direction notation to decimal notation.

Usage

1
hzar.map.dms2deg(deg, min, sec, dir)

Arguments

deg

The degrees of the angular measurement.

min

The minutes of the angular measurement.

sec

The seconds of the angular measurement.

dir

A character vector indicating the direction of the angular measurement. The case insensitive values "N", "S", "E", "W", "West", "North", "South" and "East" are all valid, any others will result in an error.

Value

A numeric vector of angular measurements.

Author(s)

Graham Derryberry asterion@alum.mit.edu

See Also

hzar.map.latLong.dms hzar.map.latLongSites.dms

Examples

1
2
3
hzar.map.dms2deg(9,24,0,"N")

hzar.map.dms2deg(82,33,50,"W")

hzar documentation built on May 2, 2019, 7 a.m.