Learn R Programming

vmsbase (version 2.2.1)

latsex2dec: Sexagesimal to Decimal Latitude conversion function

Description

latsex2dec converts sexagesimal latitude data to decimal latitude values.

Usage

latsex2dec(degree, minute, second, direction)

Arguments

degree

The value in degrees of the latitude.

minute

The value in minutes of the latitude.

second

The value in seconds of the latitude.

direction

The direction, as "N" or "S", of the latitude.

Value

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

Examples

Run this code
# NOT RUN {
latsex2dec(degree = 10, minute = 10, second = 10, direction = "N")

# }

Run the code above in your browser using DataLab