lonsex2dec: Sexagesimal to Decimal Longitude conversion function

Description Usage Arguments Value Examples

View source: R/lonsex2dec.R

Description

lonsex2dec converts sexagesimal longitude data to decimal longitude values.

Usage

1
lonsex2dec(degree, minute, second, direction)

Arguments

degree

The value in degrees of the longitude.

minute

The value in minutes of the longitude.

second

The value in seconds of the longitude.

direction

The direction, as "E" or "W", of the longitude.

Value

The function returns the longitude value converted in the decimal numeral system

Examples

1
lonsex2dec(degree = 10, minute = 10, second = 10, direction = "W")

vmsbase documentation built on July 1, 2020, 6 p.m.